mirror of
https://github.com/rendercv/rendercv.git
synced 2026-03-14 20:56:37 -04:00
don't return None type url_text
This commit is contained in:
@@ -379,7 +379,7 @@ class EntryBase(RenderCVBaseModel):
|
||||
"""
|
||||
Return a URL text based on the `url_text_input` and `url` fields.
|
||||
"""
|
||||
url_text = None
|
||||
url_text = ""
|
||||
if self.url_text_input is not None:
|
||||
# If the user provides a custom URL text, then use it.
|
||||
url_text = self.url_text_input
|
||||
|
||||
Reference in New Issue
Block a user