mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 09:59:41 +02:00
fix: prevent processing of non-downloadable items in download_selected function
This commit is contained in:
@@ -14,6 +14,8 @@ def download_selected(items, posts, post_titles):
|
|||||||
return
|
return
|
||||||
seen = set()
|
seen = set()
|
||||||
for item in items:
|
for item in items:
|
||||||
|
if item.column() != 0:
|
||||||
|
continue
|
||||||
text = item.text()
|
text = item.text()
|
||||||
if text and text not in seen:
|
if text and text not in seen:
|
||||||
seen.add(text)
|
seen.add(text)
|
||||||
|
|||||||
Reference in New Issue
Block a user