mirror of
https://github.com/bspeice/Melodia
synced 2024-11-15 20:48:23 -05:00
Add an extra wrapper to make adding resources easy
This commit is contained in:
parent
48906a5513
commit
438c313308
@ -4,3 +4,5 @@ def get_resource_dir():
|
||||
os.path.abspath(__file__)
|
||||
)
|
||||
|
||||
def add_resource_dir():
|
||||
sys.path.append(get_resource_dir())
|
||||
|
Loading…
Reference in New Issue
Block a user