ci-gui: use abspath when getting file parent

This should the initial directory setting for file dialogs work more reliably.
This commit is contained in:
Ian Burgwin
2020-07-28 01:29:59 -07:00
parent 00202c473e
commit 6da2ed3343

View File

@@ -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'))