INCOMPLETE, DONT PUSH:

refactor: reorganize state management and update import paths across modules and start changing json parsing
This commit is contained in:
Vxrtrauter
2025-10-09 16:42:18 +02:00
parent 5da7989157
commit 53b2bb912e
12 changed files with 65 additions and 43 deletions
+14
View File
@@ -0,0 +1,14 @@
from dataclasses import dataclass
from typing import Optional, Any
@dataclass
class AppState:
debug: bool = False
tracker: str = "rutracker"
api_url: str = "https://api.michijackson.xyz"
aria2process: Optional[Any] = None
aria2_threads: int = 4
state = AppState()