Fix missing playback_status
This commit is contained in:
parent
771e7482d7
commit
d20dacb2dc
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ class Module(core.module.Module):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
|
playback_status = self.status()
|
||||||
for widget in self.widgets():
|
for widget in self.widgets():
|
||||||
if playback_status:
|
if playback_status:
|
||||||
if widget.name == "playerctl.pause":
|
if widget.name == "playerctl.pause":
|
||||||
|
|
Loading…
Reference in a new issue