ui.py

changeset 78
83b43987e61e
parent 76
4b08fca3ce34
child 79
b075b3db3044
--- a/ui.py	Sun Jan 28 11:01:45 2018 +0000
+++ b/ui.py	Sun Jan 28 11:04:52 2018 +0000
@@ -8,7 +8,7 @@
 import logging
 import borgend
 import backup
-import sleep
+import dreamtime
 from threading import Lock, Timer
 from config import settings
 import objc
@@ -173,7 +173,7 @@
                 self.__status_callback(_index, status, errorlog=errors))
             backups[index].set_status_update_callback(cb)
 
-        sleep.add_callback(self, self.refresh_ui)
+        dreamtime.add_callback(self, self.refresh_ui)
 
     def __rebuild_menu(self):
         menu=[]

mercurial