From f1594064d65b750bab87099b7e7541219ef3a03a Mon Sep 17 00:00:00 2001 From: minoplhy Date: Thu, 14 Oct 2021 17:36:35 +0700 Subject: [PATCH] Defind date --- maker.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/maker.py b/maker.py index 7dac20f..b4d082c 100644 --- a/maker.py +++ b/maker.py @@ -1,6 +1,10 @@ import datetime import pytz + +UTC = pytz.utc +date = datetime.datetime.now(UTC) + def linecounter(incoming): with open(incoming) as f: for i, l in enumerate(f):