瀏覽代碼

Fixing timestamp formatting at database sync.

baumsplitter41 4 月之前
父節點
當前提交
a0bda074a9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      VPD_BOT/main.py

+ 1 - 1
VPD_BOT/main.py

@@ -597,7 +597,7 @@ async def update_users_periodically():
                     if batch_count > 0:
                         conn.commit()
             
-            print(f"[✓] {time.strftime('%H:%M:%S')} - Datenbank mit Discord-Rollen synchronisiert.")
+            print(f"[✓] {datetime.now().strftime('%H:%M:%S')} - Datenbank mit Discord-Rollen synchronisiert.")
 
         except Exception as e:
             print(f"[!] Fehler beim Update der User: {e}")