From 8813ee3b6f85f5318800a82255e01dd0ed0cfcfc Mon Sep 17 00:00:00 2001 From: Joshua Shireman Date: Fri, 28 Jan 2022 15:30:21 -0500 Subject: [PATCH] Fix Windows paths handling --- skipchunk/utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skipchunk/utilities.py b/skipchunk/utilities.py index b1ba738..e5dffe1 100644 --- a/skipchunk/utilities.py +++ b/skipchunk/utilities.py @@ -13,6 +13,6 @@ def timestamp(): def configPath(target_dir): module_dir = os.path.dirname(os.path.abspath(__file__)) - source_dir = module_dir[0:module_dir.rfind('/')] + source_dir = os.path.join(os.path.dirname(module_dir), '') graph_source = os.path.join(source_dir,target_dir) return graph_source