mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Make `self.root` an absolute path
Fix comparisons of relative and absolute paths like the one described at https://github.com/galaxyproject/galaxy/pull/921#discussion_r304356880
This commit is contained in:
@@ -100,7 +100,7 @@ def resolve_path(path, root):
|
||||
|
||||
|
||||
def find_root(kwargs):
|
||||
root = kwargs.get('root_dir', '.')
|
||||
root = os.path.abspath(kwargs.get('root_dir', '.'))
|
||||
return root
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user