borgend.py

changeset 3
4cad934aa9ce
parent 2
e343594c0014
child 4
d72c4844e791
equal deleted inserted replaced
2:e343594c0014 3:4cad934aa9ce
1 #!/usr/local/bin/python3 1 #!/usr/local/bin/python3
2 2
3 from backup import Backup 3 from backup import Backup
4 from config import settings 4 from config import settings
5 from queue import Queue
5 import ui 6 import ui
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()
15 backups=[None]*len(backupconfigs); 15 backups=[None]*len(backupconfigs);
16 16
17 for i in range(len(backupconfigs)): 17 for i in range(len(backupconfigs)):
18 backups[i]=Backup(i, backupconfigs[i]) 18 backups[i]=Backup(i, backupconfigs[i])
19 19
20 backups[0].create() 20 queue=Queue()
21 backups[0].create(queue)
22
23 backups[0].join()

mercurial