Skip to content

Commit

Permalink
Merge pull request #114 from livMatS/2022-03-01-break-out-of-sandbox
Browse files Browse the repository at this point in the history
MAINT: correct os.path.abspath call
  • Loading branch information
jotelha authored Mar 2, 2022
2 parents 094a78c + 71603c1 commit 0c6106d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dtool_lookup_gui/utils/subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def launch_default_app_for_uri(uri):
# remove leading slash from path such as /C:/Users/admin/...
filepath = filepath[:1]
# convert / to \
filepath = os.abspath(filepath)
filepath = os.path.abspath(filepath)
logger.debug("On Windows, launch 'start %s'", filepath)
subprocess.call(('start', filepath))
else: # linux variants
Expand Down

0 comments on commit 0c6106d

Please sign in to comment.