Skip to content

Commit

Permalink
автоматический режим включается сразу, при запуске приложения
Browse files Browse the repository at this point in the history
  • Loading branch information
Falbue committed Apr 26, 2024
1 parent cbdce70 commit 9d669cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,7 @@ def create_tray_icon(): # создание меню трея
menu_items.insert(0, pystray.MenuItem("Автоматическая", lambda: start_automatic()))
icon.menu = pystray.Menu(*menu_items)

start_automatic()
icon.run()

root.mainloop()
create_tray_icon()

0 comments on commit 9d669cf

Please sign in to comment.