Skip to content

Commit

Permalink
bug fix: #1207
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Feb 10, 2024
1 parent 2cfc35f commit 33ac9a0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backup/backupManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1748,7 +1748,10 @@ def changeAccountFrequencyNormal(self, request=None, userID=None, data=None):

config = json.loads(nbj.config)
config[IncScheduler.frequency] = backupFrequency
config[IncScheduler.retention] = backupRetention
try:
config[IncScheduler.retention] = backupRetention
except:
pass

nbj.config = json.dumps(config)
nbj.save()
Expand Down

0 comments on commit 33ac9a0

Please sign in to comment.