mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 17:59:43 +02:00
fixer api thread error spam message for notification
This commit is contained in:
@@ -49,10 +49,9 @@ def dlprogress():
|
||||
return 0
|
||||
|
||||
def send_notification():
|
||||
|
||||
while True:
|
||||
try:
|
||||
for download in state.aria2:
|
||||
for download in state.aria2.get_downloads():
|
||||
if dlprogress() == 100:
|
||||
notification.notify(
|
||||
title = "Download finished",
|
||||
|
||||
Reference in New Issue
Block a user