Skip to content

Commit ccea554

Browse files
committed
Check again for library_path
1 parent d4181b9 commit ccea554

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/m64py/frontend/worker.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ def core_load(self, path=None):
8888
else:
8989
self.library_path = self.settings.qset.value(
9090
"Paths/Library", find_library(CORE_NAME))
91-
self.core.core_load(str(self.library_path))
91+
if not self.library_path:
92+
self.library_path = find_library(CORE_NAME)
93+
self.core.core_load(self.library_path)
9294

9395
def core_unload(self):
9496
"""Unloads core library."""

0 commit comments

Comments
 (0)