85 for i in range(len(backupconfigs)): |
86 for i in range(len(backupconfigs)): |
86 logger.info('Setting up backup set %d' % i) |
87 logger.info('Setting up backup set %d' % i) |
87 backups[i]=Backup(i, backupconfigs[i]) |
88 backups[i]=Backup(i, backupconfigs[i]) |
88 backups[i].schedule() |
89 backups[i].schedule() |
89 |
90 |
90 if args.notray: |
91 if args.notray or platform.system()!='Darwin': |
91 pass |
92 pass |
92 else: |
93 else: |
93 from ui import BorgendTray |
94 from ui import BorgendTray |
94 tray=BorgendTray(backups); |
95 tray=BorgendTray(backups); |
95 tray.run() |
96 tray.run() |