Skip to content

Commit

Permalink
Merge pull request #638 from deltragon/trayicon-retry
Browse files Browse the repository at this point in the history
PluginManager: retry loading trayicon plugin when service is missing
  • Loading branch information
archisman-panigrahi authored Sep 22, 2024
2 parents 1a70cb6 + 6edb343 commit 641eeda
Show file tree
Hide file tree
Showing 4 changed files with 267 additions and 192 deletions.
1 change: 1 addition & 0 deletions safeeyes/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ def build(cls, name, icon_path, icon_id, action):
class PluginDependency:
message: str
link: str|None = None
retryable: bool = False

class RequiredPluginException(Exception):
def __init__(self, plugin_id, plugin_name: str, message: str|PluginDependency):
Expand Down
Loading

0 comments on commit 641eeda

Please sign in to comment.