Write a string

This commit is contained in:
giuliof 2021-09-04 11:00:37 +02:00
parent cd6543f837
commit 54bbdb919e
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ try:
zipHandler.extractall(glob.conf['default']['outdir'])
zipHandler.close()
luh = open(glob.conf['default']['outdir'] + '/lastupdate.txt', 'w')
luh.write(mtime)
luh.write(str(mtime))
luh.close()
else:
logging.error("Update failed")