Skip to content

Commit

Permalink
fix lint error line-too-long
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-muchiri committed Sep 19, 2024
1 parent 7131478 commit 5d30adf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions onadata/apps/viewer/parsed_instance_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ def _parse_where(query, known_integers, known_decimals, or_where, or_params):
break

if not is_date_valid:
raise InavlidDateFormat(
_(
f'Invalid date value "{value}" for the field {field_key}.'
)
err_msg = _(
f'Invalid date value "{value}" '
f"for the field {field_key}."
)
raise InavlidDateFormat(err_msg)

if field_key in NONE_JSON_FIELDS:
where_params.extend([text(_v)])
Expand Down

0 comments on commit 5d30adf

Please sign in to comment.