Commit b0aeb04b authored by Ad Schellevis's avatar Ad Schellevis

fix typo

parent fdf05de6
...@@ -45,7 +45,7 @@ def check_and_repair(filename_mask): ...@@ -45,7 +45,7 @@ def check_and_repair(filename_mask):
except sqlite3.DatabaseError: except sqlite3.DatabaseError:
# unrecoverable, doesn't look like a database, rename to .bck # unrecoverable, doesn't look like a database, rename to .bck
filename_tmp = '%s.%s.bck'%(filename, datetime.datetime.now().strftime("%Y%m%d%H%M%S")) filename_tmp = '%s.%s.bck'%(filename, datetime.datetime.now().strftime("%Y%m%d%H%M%S"))
syslog.syslog(syslog.LOG_ERR, "sqlite3 %s doesn't look like a database, rename to %s " % (filename, syslog.syslog(syslog.LOG_ERR, "sqlite3 %s doesn't look like a database, renamed to %s " % (filename,
filename_tmp)) filename_tmp))
cur = None cur = None
os.rename(filename, filename_tmp) os.rename(filename, filename_tmp)
......
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