borgend.py

changeset 3
4cad934aa9ce
parent 2
e343594c0014
child 4
d72c4844e791
--- a/borgend.py	Fri Jan 19 10:41:01 2018 +0000
+++ b/borgend.py	Fri Jan 19 14:42:27 2018 +0000
@@ -2,8 +2,8 @@
 
 from backup import Backup
 from config import settings
+from queue import Queue
 import ui
-import queue
 #import scheduler
 
 if __name__ == "__main__":
@@ -17,4 +17,7 @@
 for i in range(len(backupconfigs)):
     backups[i]=Backup(i, backupconfigs[i])
 
-backups[0].create()
+queue=Queue()
+backups[0].create(queue)
+
+backups[0].join()

mercurial