From 8132e2fc3e52f8f87099c749a67b1ee055230146 Mon Sep 17 00:00:00 2001 From: herrwusel Date: Sun, 11 Jun 2023 08:23:58 +0200 Subject: [PATCH] Add profile name to error notification. In a similar fashion like #1637 the commit adds the profile name to the error notification. * src/vorta/scheduler.py --- src/vorta/scheduler.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/vorta/scheduler.py b/src/vorta/scheduler.py index 222ccbc56..7a3fcee5d 100644 --- a/src/vorta/scheduler.py +++ b/src/vorta/scheduler.py @@ -34,7 +34,6 @@ class ScheduleStatus(NamedTuple): class VortaScheduler(QtCore.QObject): - #: The schedule for the profile with the given id changed. schedule_changed = QtCore.pyqtSignal(int) @@ -198,7 +197,6 @@ def set_timer_for_profile(self, profile_id: int): return with self.lock: # Acquire lock - self.remove_job(profile_id) # reset schedule pause = self.pauses.get(profile_id) @@ -292,7 +290,6 @@ def set_timer_for_profile(self, profile_id: int): # handle missing of a scheduled time if next_time <= dt.now(): - if profile.schedule_make_up_missed: self.lock.release() try: @@ -446,7 +443,7 @@ def notify(self, result): else: notifier.deliver( self.tr('Vorta Backup'), - self.tr('Error during backup creation.'), + self.tr('Error during backup creation for %s.') % profile_name, level='error', ) logger.error('Error during backup creation.')