Skip to content

Commit

Permalink
Merge pull request #5 from pnewstein/main
Browse files Browse the repository at this point in the history
made path split platform independent
  • Loading branch information
schlegelp committed Feb 10, 2024
2 parents 8c157fb + 984e8d2 commit d3a68f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xform/transforms/cmtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
__all__ = ['xform_cmtk']

_search_path = os.environ['PATH']
_search_path = [i for i in _search_path.split(';') if len(i) > 0]
_search_path = [i for i in _search_path.split(os.pathsep) if len(i) > 0]
_search_path += ['~/bin',
'/usr/lib/cmtk/bin/',
'/usr/local/lib/cmtk/bin',
Expand Down

0 comments on commit d3a68f7

Please sign in to comment.