fix debugs
This commit is contained in:
@@ -93,7 +93,7 @@ class Conn:
|
|||||||
self.close()
|
self.close()
|
||||||
return
|
return
|
||||||
self.send += 1
|
self.send += 1
|
||||||
self.lastsend = msg['time']
|
self.lastsend = time.time()
|
||||||
|
|
||||||
|
|
||||||
def ack(self, msgDict, now):
|
def ack(self, msgDict, now):
|
||||||
@@ -154,7 +154,7 @@ def stodict(msg):
|
|||||||
if v[0].isdigit():
|
if v[0].isdigit():
|
||||||
v = eval(v)
|
v = eval(v)
|
||||||
d[k] = v
|
d[k] = v
|
||||||
if verbose: print("DBG: msg is %s" % d)
|
if verbose: print("msg is %s" % d)
|
||||||
return d
|
return d
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user