diff --git a/run.py b/run.py index 840f501..3a8202a 100755 --- a/run.py +++ b/run.py @@ -220,7 +220,7 @@ def check_for_update(): if os.path.exists(FILE_UPDATE): mtime = os.path.getmtime(FILE_UPDATE) last = datetime.utcfromtimestamp(mtime).strftime('%Y-%m-%d') - today = datetime.utcnow().strftime('%Y-%m-%d') + today = datetime.now(tz=datetime.timezone.utc).strftime('%Y-%m-%d') if last == today: return try: