Add missing path assignment
This commit is contained in:
parent
32914cfaf8
commit
9f898611f3
@ -376,6 +376,8 @@ def get_path_if_valid(pathstr, cwd=None, relative=False, check_exists=False):
|
||||
try:
|
||||
if os.path.exists(path):
|
||||
log.url.debug("URL is a local file")
|
||||
else:
|
||||
path = None
|
||||
except UnicodeEncodeError:
|
||||
log.url.debug(
|
||||
"URL contains characters which are not present in the "
|
||||
|
Loading…
Reference in New Issue
Block a user