mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 17:59:43 +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)
|
layout.addWidget(dlbutton)
|
||||||
tab.setLayout(layout)
|
tab.setLayout(layout)
|
||||||
tabs.addTab(tab, title)
|
tabs.addTab(tab, title)
|
||||||
return tab
|
return tab
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ def aria2server():
|
|||||||
|
|
||||||
def dlprogress():
|
def dlprogress():
|
||||||
try:
|
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
|
downloads = state.downloads
|
||||||
if downloads:
|
if downloads:
|
||||||
for download in downloads:
|
for download in downloads:
|
||||||
|
|||||||
Reference in New Issue
Block a user