version.py : convert to str

This commit is contained in:
minoplhy 2021-11-15 10:37:52 +07:00
parent e4e6201a2f
commit f3a823e5fc
Signed by: minoplhy
GPG Key ID: 90667A59A9908AEC

View File

@ -7,5 +7,5 @@ date = datetime.datetime.now(UTC)
def build(incoming, addition=""):
with open(incoming, 'w') as f:
f.write('\n'.join([str(date)]+addition))
f.write('\n'.join([str(date)]+str(addition)))
f.close()