From 88572b44b12d1f792b57d1257059d1e46d615ad8 Mon Sep 17 00:00:00 2001 From: Florez Ospina Juan Felipe Date: Sun, 26 May 2024 12:26:54 +0200 Subject: [PATCH] Fixed buggy statement. import datetime ... followed by datetime.now() was fixed as datetime.datetime.now(). --- src/g5505_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g5505_utils.py b/src/g5505_utils.py index 493d778..a93584b 100644 --- a/src/g5505_utils.py +++ b/src/g5505_utils.py @@ -97,7 +97,7 @@ def make_file_copy(source_file_path, output_folder_name : str = 'tmp_files'): def created_at(): - now = datetime.now() + now = datetime.datetime.now() # Populate now object with time zone infotmation obtained from the local system now_tz_aware = now.astimezone() tz = now_tz_aware.strftime('%z')