Skip to content
Snippets Groups Projects
Commit 8b2a416c authored by Paul McCarthy's avatar Paul McCarthy
Browse files

fsleyes_parseargs findOrLoad function was not testing absolute paths.

parent 09762d6c
No related branches found
No related tags found
No related merge requests found
......@@ -1768,9 +1768,11 @@ def _findOrLoad(overlayList, overlayFile, overlayType, relatedTo=None):
appended to the end of the list.
"""
overlay = overlayList.find(overlayFile)
overlayFile = op.abspath(overlayFile)
overlay = overlayList.find(overlayFile)
if overlay is None:
overlay = overlayType(overlayFile)
if relatedTo is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment