borgend.py

changeset 2
e343594c0014
parent 1
4cdc9c1f6b28
child 3
4cad934aa9ce
equal deleted inserted replaced
1:4cdc9c1f6b28 2:e343594c0014
2 2
3 from backup import Backup 3 from backup import Backup
4 from config import settings 4 from config import settings
5 import ui 5 import ui
6 import queue 6 import queue
7 import scheduler 7 #import scheduler
8 8
9 if __name__ == "__main__": 9 if __name__ == "__main__":
10 print(settings) 10 #print(settings)
11 #BorgendTray("Borgend").run() 11 #BorgendTray("Borgend").run()
12 pass
12 13
13 backupconfigs=settings['backups'] 14 backupconfigs=settings['backups']
14 backups=[None]*len(backupconfigs); 15 backups=[None]*len(backupconfigs);
15 16
16 for i in range(len(backupconfigs)): 17 for i in range(len(backupconfigs)):
17 backups[i]=Backup(i, backupconfigs[i]) 18 backups[i]=Backup(i, backupconfigs[i])
18 19
19 20 backups[0].create()
20 schedul

mercurial