1
0

first check data/ else use system appdata/share directory.

This commit is contained in:
Amir Taaki
2012-07-05 21:43:32 +02:00
parent dcff721aa9
commit d7ad1f41e5
2 changed files with 8 additions and 4 deletions

View File

@@ -13,5 +13,5 @@ def appdata_dir():
raise Exception("Unknown system")
def get_resource_path(*args):
return os.path.join(appdata_dir(), *args)
return os.path.join(".", *args)