From 7f01d73f54418f44bef0ad3cea8f5baea6ad6017 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Thu, 22 Aug 2024 12:33:40 -0500 Subject: [PATCH] editor.py -> abspath to absolute --- cq_editor/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cq_editor/editor.py b/cq_editor/editor.py index eb70537..30b4629 100644 --- a/cq_editor/editor.py +++ b/cq_editor/editor.py @@ -148,7 +148,7 @@ class Editor(CodeEditor,ComponentMixin): if not self.confirm_discard(): return - curr_dir = Path(self.filename).abspath().dirname() + curr_dir = Path(self.filename).absolute().dirname() fname = get_open_filename(self.EXTENSIONS, curr_dir) if fname != '': self.load_from_file(fname)