clean up if & else statements: removed

unnessecairy stuff
This commit is contained in:
Noe
2024-12-14 23:04:37 +01:00
parent 020587fae3
commit 8e9a3ca31a
-2
View File
@@ -15,7 +15,6 @@ def pauseDownload(_):
global download_paused
if download_paused == True:
print("Error: Download already paused.")
else:
print("Download is being paused...")
download_paused = True
aria2.pause_all()
@@ -25,7 +24,6 @@ def startDownload(_):
aria2.resume_all()
print("Download Resumed!")
download_paused = False
else:
print("Download Started!")
download = aria2.add_magnet(magnet_uri)