filters-maker/version.py

12 lines
226 B
Python
Raw Normal View History

2021-08-17 07:14:06 +00:00
import re
import datetime
import pytz
UTC = pytz.utc
date = datetime.datetime.now(UTC)
2021-11-15 01:51:05 +00:00
def build(incoming, addition=""):
2021-08-17 07:14:06 +00:00
with open(incoming, 'w') as f:
2021-11-15 04:02:38 +00:00
f.write('\n'.join([str(date)+str(addition)]))
2021-08-17 07:14:06 +00:00
f.close()