Don't schedule if no repo is set. (#1288)

Fixes #1286.
This commit is contained in:
yfprojects 2022-05-08 13:30:48 +00:00 committed by GitHub
parent a06ba048c1
commit f76aa5a5f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ class VortaScheduler(QtCore.QObject):
logger.debug(
'Nothing scheduled for profile %s because of unset repo.',
profile_id)
return
if profile.schedule_mode == 'off':
logger.debug('Scheduler for profile %s is disabled.', profile_id)