fixed error messages spamming in console + added debug messages

This commit is contained in:
Vxrtrauter
2025-10-11 20:35:21 +02:00
parent e4c50e20df
commit a9450435d7
5 changed files with 13 additions and 9 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
from dataclasses import dataclass
from dataclasses import dataclass, field
from typing import Optional, Any, List, Dict
from pathlib import Path
@@ -14,7 +14,7 @@ class AppState:
download_path: str = str(Path.home() / "Downloads")
speed_limit: int = 0
aria2process: Optional[Any] = None
aria2: Optional[Any] = None
aria2: list[Any] = field(default_factory=list)
aria2_threads: int = 4
state = AppState(posts=[], post_titles=[], post_urls=[], post_author=[], download_path="")