Fix bug that always resulted in a FileNotFoundError

This commit is contained in:
Emma Nora Theuer 2024-09-02 16:38:52 +02:00
parent b6f42fbf97
commit d21fd29dff

View file

@ -34,7 +34,7 @@ def on_quit(icon, item, callback):
icon.stop() icon.stop()
chdir("/etc/wallman/icons/systrayIcon") chdir("/etc/wallman/icons/")
try: try:
icon_image = Image.open("systrayIcon.jpg") icon_image = Image.open("systrayIcon.jpg")
except FileNotFoundError: except FileNotFoundError: