-
Notifications
You must be signed in to change notification settings - Fork 4
Module path resolution unreliability #7
Copy link
Copy link
Open
Description
KH1FM-RANDOMIZER/mod_generator.py
Line 59 in b076723
| with open("./mod_generator_presets.json", 'r') as file: |
When running as a module or as a compiled project, relative path references may point to a different location than intended.
Discord issue related'
Recommended to update relative path resolution to a more reliable use of python pathlib module. Ex:
json_path = Path(file).resolve().parent.joinpath("mod_generator_preset.json")
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels


