Browse Source

Don't activate Windows notifications when running as service

Closes #1705
pull/1708/head
Safihre 4 years ago
parent
commit
47b8d1de39
  1. 2
      SABnzbd.py

2
SABnzbd.py

@ -1251,7 +1251,7 @@ def main():
sabnzbd.cfg.web_color.set(sabnzbd.WEB_COLOR)
# Handle the several tray icons
if sabnzbd.cfg.win_menu() and not sabnzbd.DAEMON:
if sabnzbd.cfg.win_menu() and not sabnzbd.DAEMON and not sabnzbd.WIN_SERVICE:
if sabnzbd.WIN32:
import sabnzbd.sabtray

Loading…
Cancel
Save