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 03:37:52 +00:00
|
|
|
f.write('\n'.join([str(date)]+str(addition)))
|
2021-08-17 07:14:06 +00:00
|
|
|
f.close()
|