From f63fd6795ac17ac044d8ea2fb057650848a768cf 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):