mirror of
https://github.com/bspeice/Melodia
synced 2025-07-01 13:55:51 -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