From 6da2ed334315c24befecf6b4e39f6e49b1da93ae Mon Sep 17 00:00:00 2001 From: Ian Burgwin Date: Tue, 28 Jul 2020 01:29:59 -0700 Subject: [PATCH] ci-gui: use abspath when getting file parent This should the initial directory setting for file dialogs work more reliably. --- ci-gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-gui.py b/ci-gui.py index e6e42b6..d8f6573 100644 --- a/ci-gui.py +++ b/ci-gui.py @@ -37,7 +37,7 @@ if is_windows: except ModuleNotFoundError: pass -file_parent = dirname(__file__) +file_parent = dirname(abspath(__file__)) # automatically load boot9 if it's in the current directory b9_paths.insert(0, join(file_parent, 'boot9.bin'))