Commit 630a3bbe authored by Marco Mariani's avatar Marco Mariani

equeue: cast str(timestamp) to please gdbm

parent addad86a
...@@ -115,7 +115,7 @@ class EqueueServer(SocketServer.ThreadingUnixStreamServer): ...@@ -115,7 +115,7 @@ class EqueueServer(SocketServer.ThreadingUnixStreamServer):
command) command)
else: else:
self.logger.info("%s finished successfully.", command) self.logger.info("%s finished successfully.", command)
self.db[command] = timestamp self.db[command] = str(timestamp)
else: else:
self.logger.info("%s already runned.", command) self.logger.info("%s already runned.", command)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment