1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2025-01-02 21:25:48 +00:00

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

View file

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