Commit d897a882 authored by Matias Guijarro's avatar Matias Guijarro

newest redis-py only supports assignment of bytes, strings or numbers

parent ebf67076
......@@ -404,8 +404,8 @@ class Scan(object):
self._scan_info.setdefault("title", name)
start_timestamp = time.time()
start_time = datetime.datetime.fromtimestamp(start_timestamp)
start_time_str = start_time.strftime("%a %b %d %H:%M:%S %Y")
self._scan_info["start_time"] = start_time
start_time_str = start_time.strftime("%a %b %d %H:%M:%S %Y")
self._scan_info["start_time_str"] = start_time_str
self._scan_info["start_timestamp"] = start_timestamp
scan_config = ScanSaving()
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