filters-maker/version.py

12 lines
226 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)]+str(addition)))
f.close()