Fixes the position of the logging line

This commit is contained in:
Tarcisio Fedrizzi 2016-02-26 10:02:41 +01:00
parent 702b235981
commit 67ebdc6eb6

View File

@ -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):