mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 09:59:41 +02:00
remove unnecessary comments
This commit is contained in:
@@ -55,18 +55,6 @@ def dlprogress():
|
|||||||
except:
|
except:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
# def dlspeed():
|
|
||||||
# try:
|
|
||||||
# state.downloads = [download for download in state.aria2.get_downloads() if not download.is_metadata]
|
|
||||||
# downloads = state.downloads
|
|
||||||
# if downloads:
|
|
||||||
# for download in downloads:
|
|
||||||
# speed = download.download_speed()
|
|
||||||
# return speed
|
|
||||||
# return "0 B/s"
|
|
||||||
# except:
|
|
||||||
# return "0 B/s"
|
|
||||||
|
|
||||||
def send_notification(shutdown_event):
|
def send_notification(shutdown_event):
|
||||||
while not shutdown_event.is_set():
|
while not shutdown_event.is_set():
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ class AppState:
|
|||||||
post_urls: List[str]
|
post_urls: List[str]
|
||||||
post_author: List[str]
|
post_author: List[str]
|
||||||
downloads: List[str]
|
downloads: List[str]
|
||||||
# dl_speed: str = "0 B/s"
|
|
||||||
debug: bool = False
|
debug: bool = False
|
||||||
tracker: str = "rutracker"
|
tracker: str = "rutracker"
|
||||||
api_url: str = "https://api.michijackson.xyz"
|
api_url: str = "https://api.michijackson.xyz"
|
||||||
|
|||||||
Reference in New Issue
Block a user