Skip to content

Commit

Permalink
- fixed compatability in plugins that do not inherit InfobarShowHide
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitarCC authored and Huevos committed Oct 5, 2023
1 parent 9cdd861 commit bf63f31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/python/Components/ServiceEventTracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def infoBarClosed(infobar):
x(infobar)

def __init__(self, steal_current_service=False):
self.av_config = {} #add this here so to prevent crashes in plugins that doesnt inherit InfobarShowHide
if steal_current_service:
ServiceEventTracker.setActiveInfoBar(self, None, None)
else:
Expand Down

0 comments on commit bf63f31

Please sign in to comment.