Skip to content

Commit

Permalink
MAINT: correct os.path.abspath call
Browse files Browse the repository at this point in the history
  • Loading branch information
jotelha committed Mar 2, 2022
1 parent c6f1596 commit 71603c1
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 71603c1

Please sign in to comment.