From 3b37dcc7e61a224ca842ef321ebcf881b675a3eb Mon Sep 17 00:00:00 2001 From: fazalpsinfo-cmyk Date: Fri, 17 Jul 2026 17:22:17 +0530 Subject: [PATCH] fix: update deprecated pattern --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index 840f5016..3a8202a5 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: