1
0
mirror of https://github.com/minoplhy/filters-maker.git synced 2024-12-22 18:18:13 +00:00
filters-maker/version.py
2021-11-15 08:51:05 +07:00

12 lines
221 B
Python

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