improved debug output

This commit is contained in:
Vxrtrauter
2025-10-16 15:49:00 +02:00
parent 3f6889da56
commit 999c8e9ba4
4 changed files with 15 additions and 3 deletions
+5
View File
@@ -1,11 +1,16 @@
from .aria2_integration import run_aria2p
from core.utils.data.state import state
def start_client():
global aria2
aria2 = run_aria2p()
if state.debug:
print("Started Aria2p")
def add_magnet(uri):
aria2.add_magnet(uri)
if state.debug:
print("Magnet URI added to Aria2")