add multiargs support to get_resource_path
This commit is contained in:
@@ -12,6 +12,6 @@ def appdata_dir():
|
|||||||
else:
|
else:
|
||||||
raise Exception("Unknown system")
|
raise Exception("Unknown system")
|
||||||
|
|
||||||
def get_resource_path(filename):
|
def get_resource_path(*args):
|
||||||
return os.path.join(appdata_dir(), filename)
|
return os.path.join(appdata_dir(), *args)
|
||||||
|
|
||||||
Reference in New Issue
Block a user