Write a string
This commit is contained in:
parent
cd6543f837
commit
54bbdb919e
2
main.py
2
main.py
|
@ -96,7 +96,7 @@ try:
|
||||||
zipHandler.extractall(glob.conf['default']['outdir'])
|
zipHandler.extractall(glob.conf['default']['outdir'])
|
||||||
zipHandler.close()
|
zipHandler.close()
|
||||||
luh = open(glob.conf['default']['outdir'] + '/lastupdate.txt', 'w')
|
luh = open(glob.conf['default']['outdir'] + '/lastupdate.txt', 'w')
|
||||||
luh.write(mtime)
|
luh.write(str(mtime))
|
||||||
luh.close()
|
luh.close()
|
||||||
else:
|
else:
|
||||||
logging.error("Update failed")
|
logging.error("Update failed")
|
||||||
|
|
Loading…
Reference in New Issue