Skip to content

Commit

Permalink
Bugfix for #149
Browse files Browse the repository at this point in the history
  • Loading branch information
Der-Henning committed Sep 9, 2022
1 parent 8c33d6b commit 145e970
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ tzdata==2022.2
tzlocal==4.2
urllib3==1.26.12
pycron===3.0.0
cron-descriptor==1.2.31
# cron-descriptor==1.2.31
5 changes: 3 additions & 2 deletions src/models/cron.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import logging
import pycron
from cron_descriptor import get_description
# from cron_descriptor import get_description

from models.errors import ConfigurationError

Expand All @@ -23,4 +23,5 @@ def is_now(self) -> bool:

@property
def description(self) -> str:
return get_description(self.cron)
return self.cron
# return get_description(self.cron)

0 comments on commit 145e970

Please sign in to comment.