From 639e11f55d4b64fa7339ba8113039bec7d319861 Mon Sep 17 00:00:00 2001 From: tadly Date: Mon, 20 Aug 2018 20:22:19 +0200 Subject: [PATCH] fixes daemon not properly using create-/restore_backup --- dups/daemon.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dups/daemon.py b/dups/daemon.py index 9e5315a..2db5b31 100644 --- a/dups/daemon.py +++ b/dups/daemon.py @@ -108,7 +108,8 @@ def _backup(): config.Config.get().reload() self._notify('Starting new backup') - success, res = helper.error_handler(helper.create_backup, dry_run) + success, res = helper.error_handler(helper.create_backup, self.usr, + dry_run) if success: bak, status = res @@ -138,8 +139,8 @@ def _restore(): config.Config.get().reload() self._notify('Starting restore') - success, res = helper.error_handler(helper.restore_backup, items, - name, target, dry_run) + success, res = helper.error_handler( + helper.restore_backup, self.usr, items, name, target, dry_run) if success: bak, status = res self._notify('Finished restore', status.message)