add convertToNumber() to convert "HMGET,HGETALL" 's response to int or float.
add convertToNumber() to convert "HMGET,HGETALL" 's response to int or
float.

{'mode': '0', 'lasttime': '1442546304', 'name': 'a name',
    'type': '0', 'regtime': '1442546304'}

to:
{'mode': 0, 'lasttime': 1442546304, 'name': 'a name',
    'type': 0, 'regtime': 1442546304}

sunminghong/redis-py,sunminghong/redis-py,sunminghong/redis-py