Skip to content

Commit

Permalink
Merge pull request #1 from istrategylabs/master
Browse files Browse the repository at this point in the history
Merge in main repo updates
  • Loading branch information
rmartin48 committed Sep 20, 2019
2 parents f7952f2 + 7bb4b6c commit f1ae05b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scheduler/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '1.1.2'
__version__ = '1.1.3'

default_app_config = 'scheduler.apps.SchedulerConfig'
2 changes: 1 addition & 1 deletion scheduler/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def clean_queue(self):
})

def is_scheduled(self):
return self.job_id in self.scheduler()
return self.job_id and self.job_id in self.scheduler()
is_scheduled.short_description = _('is scheduled?')
is_scheduled.boolean = True

Expand Down

0 comments on commit f1ae05b

Please sign in to comment.