mirror of
https://github.com/bspeice/Melodia
synced 2024-12-25 08:08:13 -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