mirror of
https://github.com/bspeice/Melodia
synced 2025-08-01 05:04:55 -04:00
Add an extra wrapper to make adding resources easy
This commit is contained in:
@ -4,3 +4,5 @@ def get_resource_dir():
|
||||
os.path.abspath(__file__)
|
||||
)
|
||||
|
||||
def add_resource_dir():
|
||||
sys.path.append(get_resource_dir())
|
||||
|
Reference in New Issue
Block a user