Skip to content

Commit

Permalink
better filtr another dummy package
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment committed Jan 23, 2023
1 parent 40e522c commit 7be1893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wingetui/chocoHelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def searchForUpdates(signal: Signal, finishSignal: Signal, noretry: bool = False
for element in output:
try:
element = str(element, "utf-8", errors="ignore").split("|")
if len(element) > 1 and element[0] != "Output is package name":
if len(element) > 1 and "Output is package name" not in element[0]:
signal.emit(element[0].replace("-", " ").capitalize(), element[0], element[1], element[2], "Chocolatey")
except Exception as e:
report(e)
Expand Down

0 comments on commit 7be1893

Please sign in to comment.