borgend.py

changeset 43
8f3ac19f11b6
parent 41
e2641cb9ca6d
child 45
aa2a95dc6093
--- a/borgend.py	Sun Jan 21 22:38:01 2018 +0000
+++ b/borgend.py	Sun Jan 21 22:43:57 2018 +0000
@@ -4,6 +4,7 @@
 import logging
 import logging.handlers
 import argparse
+import platform
 from fifolog import FIFOHandler
 
 #
@@ -87,7 +88,7 @@
             backups[i]=Backup(i, backupconfigs[i])
             backups[i].schedule()
 
-        if args.notray:
+        if args.notray or platform.system()!='Darwin':
             pass
         else:
             from ui import BorgendTray

mercurial