fix for packed images
This commit is contained in:
@@ -58,6 +58,6 @@ def resource_path(relative_path):
|
||||
# PyInstaller bundle path
|
||||
base_path = sys._MEIPASS
|
||||
else:
|
||||
base_path = os.path.dirname(os.path.abspath(__file__))
|
||||
base_path = os.path.abspath(".")
|
||||
|
||||
return os.path.join(base_path, relative_path)
|
||||
Reference in New Issue
Block a user