Skip to content

Commit

Permalink
fix: linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MitanOmar committed Oct 6, 2023
1 parent a1c3bd2 commit b04b2bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions caluma/caluma_form/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def min_value(self, value):

@property
def max_date(self):
if (max_date := self.configuration.get("max_date")) and max_date != 'null':
if (max_date := self.configuration.get("max_date")) and max_date != "null":
return dateutil.parser.parse(json.loads(max_date)).date()

@max_date.setter
Expand All @@ -233,7 +233,7 @@ def max_date(self, value):

@property
def min_date(self):
if (min_date := self.configuration.get("min_date")) and min_date != 'null':
if (min_date := self.configuration.get("min_date")) and min_date != "null":
return dateutil.parser.parse(json.loads(min_date)).date()

@min_date.setter
Expand Down

0 comments on commit b04b2bc

Please sign in to comment.