Notice: If you are member of any public project or group, please make sure that your GitLab username is not the same as the LRZ identifier/Kennung (see Please change your username if necessary. For more information see the section "Public projects / Öffentliche Projekte" at . Thank you!

Commit d6e0fdd0 authored by di68kap's avatar di68kap

Merge remote-tracking branch 'origin/development' into development

parents 5c48da22 f9070ae1
......@@ -267,8 +267,9 @@ def load_if_file(text_or_file) -> str:
return content
except FileNotFoundError:
if RX_FILEPATH.fullmatch(text_or_file):
raise FileNotFoundError('Not a valid file: ' + text_or_file + '!\n(Add "\\n" '
'to distinguish source data from a file name.)')
raise FileNotFoundError('Not a valid filepath or URL: "' + text_or_file + '". \n'
'(Add an empty line to distinguish source data from '
'a file name.)')
return text_or_file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment