Commit a13739c2 authored by Rafael Monnerat's avatar Rafael Monnerat

resilience: The value (timestamp) must be a float to be converted

parent 288a9faf
...@@ -46,7 +46,7 @@ md5sum = d21472f0e58f928fb827f2cbf22c4d4a ...@@ -46,7 +46,7 @@ md5sum = d21472f0e58f928fb827f2cbf22c4d4a
[resilient-web-takeover-cgi-script-download] [resilient-web-takeover-cgi-script-download]
filename = resilient-web-takeover-cgi-script.py.in filename = resilient-web-takeover-cgi-script.py.in
md5sum = 7a0f1be7e9d05d0c68748322abe1f511 md5sum = 4137b7ac6b20a6cd897ad58f51a763b1
[template-wrapper] [template-wrapper]
filename = templates/wrapper.in filename = templates/wrapper.in
......
...@@ -48,7 +48,7 @@ def getLatestBackupDate(): ...@@ -48,7 +48,7 @@ def getLatestBackupDate():
if not db_keys: if not db_keys:
result = False result = False
else: else:
last_backup = db[db_keys[0]] last_backup = float(db[db_keys[0]])
for callback in db_keys: for callback in db_keys:
timestamp = float(db[callback]) timestamp = float(db[callback])
if timestamp > last_backup: if timestamp > last_backup:
......
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