Automated daily backup: 2026-10-11 03:13

This commit is contained in:
gooner committed 2026-10-11 03:14:54 -04:00
1 parent 87811e0a16
commit 824cdedd7e
25 files changed
+11087 -491

No files matched your search

+10 -2
View File
@@ -47,6 +47,7 @@ if sys.platform == 'win32':
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8', errors='replace')
sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding='utf-8', errors='replace')
import atexit
import requests
from tqdm import tqdm
@@ -134,8 +135,14 @@ class MasterProgressTracker:
def close(self):
with self.lock:
self.bar.close()
self.text_bar.close()
try:
self.bar.close()
except Exception:
pass
try:
self.text_bar.close()
except Exception:
pass
def format_status(self) -> str:
with self.lock:
@@ -176,6 +183,7 @@ class MasterProgressTracker:
MASTER_TRACKER = MasterProgressTracker()
atexit.register(lambda: (MASTER_TRACKER.close(), getattr(tqdm, '_instances', set()).clear()))
class OverallProgressTracker: