Skip to content

Commit

Permalink
[PluginBrowser]
Browse files Browse the repository at this point in the history
* fix commit 5cf1d60

No action required for unhandled events.
  • Loading branch information
jbleyel committed Jul 4, 2023
1 parent 7cf159c commit 4bad76d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/python/Screens/PluginBrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,9 @@ def fetchOpkgDataCallback(self, event, parameter):
case OpkgComponent.EVENT_ERROR:
print("[PluginBrowser] Opkg command '%s' error! (%s)" % (parameter[1], self.opkgComponent.getCommandText(parameter[0])))
case _:
print("[PluginBrowser] Opkg command '%s' returned event '%s'." % (self.opkgComponent.getCommandText(OpkgComponent.currentCommand), self.opkgComponent.getEventText(event)))
# Unhandled events, no action required.
pass

haveLogs = self.logData != ""
self["logAction"].setEnabled(haveLogs)
self["key_yellow"].setText(_("Show Log") if haveLogs else "")
Expand Down

0 comments on commit 4bad76d

Please sign in to comment.