Add an extra wrapper to make adding resources easy

master
Bradlee Speice 2012-12-10 12:56:56 -05:00
parent 48906a5513
commit 438c313308
1 changed files with 2 additions and 0 deletions

View File

@ -4,3 +4,5 @@ def get_resource_dir():
os.path.abspath(__file__)
)
def add_resource_dir():
sys.path.append(get_resource_dir())