We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b4879c commit 2469effCopy full SHA for 2469eff
sonota.py
@@ -480,7 +480,7 @@ def resource_path(relative_path):
480
# PyInstaller creates a temp folder and stores path in _MEIPASS
481
base_path = sys._MEIPASS
482
except Exception:
483
- base_path = os.path.abspath(".")
+ base_path = os.path.dirname(sys.argv[0])
484
485
return os.path.join(base_path, relative_path)
486
0 commit comments