Convert time object to integer (instead of string)
This commit is contained in:
parent
4b44d000ee
commit
f8bbe7b6c1
@ -186,7 +186,7 @@ class Protocol:
|
|||||||
value = self._obj_len_data(1)
|
value = self._obj_len_data(1)
|
||||||
if value is None:
|
if value is None:
|
||||||
return None
|
return None
|
||||||
return str(value)
|
return int(str(value))
|
||||||
|
|
||||||
def _obj_hashtable(self):
|
def _obj_hashtable(self):
|
||||||
"""Read a hashtable in data (type for keys + type for values + count + items)."""
|
"""Read a hashtable in data (type for keys + type for values + count + items)."""
|
||||||
|
Loading…
Reference in New Issue
Block a user