diff --git a/oml/tasks.py b/oml/tasks.py index 93d3b45..9f40975 100644 --- a/oml/tasks.py +++ b/oml/tasks.py @@ -43,9 +43,9 @@ class Tasks(Thread): import item.scan from item.models import sync_metadata, get_preview, get_cover from user.models import ( - export_list, update_user_peering, - add_local_info, remove_local_info, - upload + export_list, update_user_peering, + add_local_info, remove_local_info, + upload ) shutdown = False while not shutdown: @@ -98,6 +98,7 @@ class Tasks(Thread): def load_tasks(self): if os.path.exists(self._taskspath): + logger.debug('loading tasks') try: with open(self._taskspath) as f: tasks = json.load(f)