mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
hide aria2 metadata in state.downloads
This commit is contained in:
@@ -14,4 +14,4 @@ def create_tab(title, searchbar, software_list, tabs, dlbutton, layout2):
|
||||
layout.addWidget(dlbutton)
|
||||
tab.setLayout(layout)
|
||||
tabs.addTab(tab, title)
|
||||
return tab
|
||||
return tab
|
||||
|
||||
@@ -44,7 +44,7 @@ def aria2server():
|
||||
|
||||
def dlprogress():
|
||||
try:
|
||||
state.downloads = state.aria2.get_downloads()
|
||||
state.downloads = [download for download in state.aria2.get_downloads() if not download.is_metadata]
|
||||
downloads = state.downloads
|
||||
if downloads:
|
||||
for download in downloads:
|
||||
|
||||
Reference in New Issue
Block a user