sway/status.py: fix undefined variable

This commit is contained in:
Alan Orth 2022-01-21 15:58:23 +03:00
parent 7e00ab4d31
commit 0f454dd3a1
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ def refresh():
volume_icon = "🔇"
except Exception:
volume_level = ""
volume_icon = ""
volume_status = f"{volume_level} {volume_icon}"