Implemented first time setup wizard. There are still some problems to be solved.

This commit is contained in:
2018-12-10 23:23:00 +02:00
parent 34e358a9c4
commit 899de7adf5
22 changed files with 283 additions and 49 deletions

View File

@ -149,7 +149,7 @@ def synchronize_subscription(subscription: Subscription):
def schedule_synchronize_global():
trigger = CronTrigger.from_crontab(global_prefs['synchronization_schedule'])
trigger = CronTrigger.from_crontab(global_prefs['scheduler__synchronization_schedule'])
job = scheduler.scheduler.add_job(synchronize, trigger, max_instances=1, coalesce=True)
log.info('Scheduled synchronize job job=%s', job.id)