Commit 460966ef authored by Yingjie Xu's avatar Yingjie Xu

Remove .timestamp file if its content is not expected.

parent e337dcc6
......@@ -583,6 +583,7 @@ class Slapgrid(object):
if int(timestamp) <= int(old_timestamp):
continue
except ValueError:
os.remove(timestamp_path)
exception = traceback.format_exc()
logger.error(exception)
try:
......
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