forked from openlp/openlp
Log an error instead of debug output
This commit is contained in:
parent
3e5eb698d9
commit
3ae978e4be
@ -206,7 +206,7 @@ def str_to_path(string):
|
||||
:rtype: openlp.core.common.path.Path | None
|
||||
"""
|
||||
if not isinstance(string, str):
|
||||
log.debug('parameter \'string\' must be of type str, got {} which is a {} instead'.format(string, type(string)))
|
||||
log.error('parameter \'string\' must be of type str, got {} which is a {} instead'.format(string, type(string)))
|
||||
return None
|
||||
if string == '':
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user