소스 검색

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}")