Convert time object to integer (instead of string)

This commit is contained in:
Sebastien Helleu 2012-07-21 17:38:16 +02:00
parent 4b44d000ee
commit f8bbe7b6c1
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ class Protocol:
value = self._obj_len_data(1)
if value is None:
return None
return str(value)
return int(str(value))
def _obj_hashtable(self):
"""Read a hashtable in data (type for keys + type for values + count + items)."""