Skip to content

Commit

Permalink
remove a dummy entry from chocolatey
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment committed Jan 27, 2023
1 parent 2d36add commit 783c724
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wingetui/chocoHelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,12 @@ def searchForInstalledPackage(signal: Signal, finishSignal: Signal) -> None:
else:
counter += 1
counter = 0
emptyStr = ""
chocoName = "Chocolatey"
for element in output:
try:
output = str(element, encoding="utf-8", errors="ignore").split(" ")
if output[0] != "-" and len(output) > 1:
if output[1] != "validations":
if output[1] != "validations" and output[0] != "Directory":
signal.emit(output[0].replace("-", " ").capitalize(), output[0], output[1], chocoName)
except Exception as e:
report(e)
Expand Down

0 comments on commit 783c724

Please sign in to comment.