mirror of
https://github.com/rendercv/rendercv.git
synced 2026-04-23 00:11:20 -04:00
cli: refactor
This commit is contained in:
@@ -282,7 +282,7 @@ def handle_validation_error(exception: pydantic.ValidationError):
|
||||
)
|
||||
if custom_message is not None:
|
||||
message = custom_message
|
||||
if custom_location != "":
|
||||
if custom_location:
|
||||
# If the custom location is not empty, then add it to the location.
|
||||
location = f"{location}.{custom_location}"
|
||||
input = custom_input_value
|
||||
|
||||
Reference in New Issue
Block a user