Skip to content

Commit

Permalink
Small hacks... are these needed?
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Jul 26, 2022
1 parent 5eca6d4 commit 43058e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/objectstore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ def _construct_path(
hash id (e.g., /files/dataset_10.dat (old) vs.
/files/000/dataset_10.dat (new))
"""
base = os.path.abspath(self.extra_dirs.get(base_dir, self.file_path))
base = os.path.abspath(self.extra_dirs.get(base_dir) or self.file_path)
# extra_dir should never be constructed from provided data but just
# make sure there are no shenannigans afoot
if extra_dir and extra_dir != os.path.normpath(extra_dir):
Expand Down

0 comments on commit 43058e0

Please sign in to comment.