mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
remove unnecessary comments
This commit is contained in:
@@ -55,18 +55,6 @@ def dlprogress():
|
||||
except:
|
||||
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):
|
||||
while not shutdown_event.is_set():
|
||||
try:
|
||||
|
||||
@@ -9,7 +9,6 @@ class AppState:
|
||||
post_urls: List[str]
|
||||
post_author: List[str]
|
||||
downloads: List[str]
|
||||
# dl_speed: str = "0 B/s"
|
||||
debug: bool = False
|
||||
tracker: str = "rutracker"
|
||||
api_url: str = "https://api.michijackson.xyz"
|
||||
|
||||
Reference in New Issue
Block a user