From 71603c1eb1acb0de744d7a4f6e66655e30ff295d Mon Sep 17 00:00:00 2001 From: Johannes Laurin Hoermann Date: Wed, 2 Mar 2022 20:02:17 +0100 Subject: [PATCH] MAINT: correct os.path.abspath call --- dtool_lookup_gui/utils/subprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtool_lookup_gui/utils/subprocess.py b/dtool_lookup_gui/utils/subprocess.py index 06ae0ef1..79567568 100644 --- a/dtool_lookup_gui/utils/subprocess.py +++ b/dtool_lookup_gui/utils/subprocess.py @@ -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