Skip to content

Commit

Permalink
Fix dfki-ric#363 - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpenAalAlex committed Aug 22, 2024
1 parent 1697c1f commit 624ccba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phobos/core/multiple.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ def __init__(self, name=None, world=None, model=None, file=None, origin=None, fr
assert world is not None
self.model = _singular(model)
self.origin = _singular(origin) if origin is not None else representation.Pose()
self._file = os.path.normpath(os.path.join(os.path.dirname(world.inputfile), file)) if not os.path.isabs(file) else file
self._file = os.path.normpath(os.path.join(os.path.dirname(world.inputfile), file)) \
if file is not None and not os.path.isabs(file) else file
if model is None and file is not None:
if self._file.lower().rsplit(".", 1)[-1] in ["smurfs", "smurfa"]:
try:
Expand Down

0 comments on commit 624ccba

Please sign in to comment.