1
0
mirror of https://github.com/minoplhy/filters-maker.git synced 2024-12-22 10:08:11 +00:00

version : add addition

This commit is contained in:
minoplhy 2021-11-15 08:51:05 +07:00
parent ab076e13bc
commit c6c27ce680
Signed by: minoplhy
GPG Key ID: 90667A59A9908AEC

View File

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