Merge pull request #872 from SamTebbs33/main

Fix missing playback_status
This commit is contained in:
tobi-wan-kenobi 2022-04-24 17:13:50 +02:00 committed by GitHub
commit c011cfb6c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,6 +100,7 @@ class Module(core.module.Module):
return None
def update(self):
playback_status = self.status()
for widget in self.widgets():
if playback_status:
if widget.name == "playerctl.pause":