fixxed some function stuff

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-08-12 22:08:29 +02:00
parent b88d0641bc
commit dfbe701b16
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ if __name__ == '__main__':
host = serial.Serial('COM3', 9600) host = serial.Serial('COM3', 9600)
tray_icon = Image.open(current_path+r'/icon.ico') tray_icon = Image.open(current_path+r'/icon.ico')
tray_menu = (item('Volumen', start_sync), item('Exit', exit_everything)) tray_menu = (item('Volumen', volumen_mode), item('Exit', exit_everything))
icon = pystray.Icon('USB Knob', tray_icon, 'USB Knob', tray_menu) icon = pystray.Icon('USB Knob', tray_icon, 'USB Knob', tray_menu)
icon.run_detached() icon.run_detached()