Fixes the position of the logging line
This commit is contained in:
parent
702b235981
commit
67ebdc6eb6
@ -345,9 +345,8 @@ def get_path_if_valid(pathstr, cwd=None, relative=False, check_exists=False):
|
||||
Return:
|
||||
True if it is a valid path, False otherwise.
|
||||
"""
|
||||
log.url.debug("Checking if '{}' is a path".format(pathstr))
|
||||
|
||||
pathstr = pathstr.strip()
|
||||
log.url.debug("Checking if '{}' is a path".format(pathstr))
|
||||
expanded = os.path.expanduser(pathstr)
|
||||
|
||||
if os.path.isabs(expanded):
|
||||
|
Loading…
Reference in New Issue
Block a user