Skip to content

Commit

Permalink
Move formatting to separate methods for use in subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarans committed Jan 10, 2025
1 parent 11b493a commit 20bd3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdx/utilities/error_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def add_multi_valued(
bool: True if a message was added, False if not
"""
message = self.multi_valued_message(text, values)
if text is None:
if message is None:
return False
self.add(message, category, message_type)
return True
Expand Down

0 comments on commit 20bd3cc

Please sign in to comment.