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.
2 parents 79adf39 + c7f2ef3 commit 0463850Copy full SHA for 0463850
src/fosslight_util/spdx_licenses.py
@@ -20,7 +20,7 @@ def get_license_from_nick():
20
licenses_file = os.path.join(_resources_dir, _frequent_lic_nick_json_file)
21
22
try:
23
- base_dir = sys._MEIPASS
+ base_dir = os.path.join(sys._MEIPASS, vars(sys.modules[__name__])['__package__'])
24
except Exception:
25
base_dir = os.path.dirname(__file__)
26
@@ -42,7 +42,7 @@ def get_spdx_licenses_json():
42
licenses_file = os.path.join(_resources_dir, _licenses_json_file)
43
44
45
46
47
48
0 commit comments