From bb0c0ff4c69529525f7a25667c169ae7a303fa5a Mon Sep 17 00:00:00 2001 From: Amir Taaki Date: Thu, 5 Jul 2012 01:36:32 +0200 Subject: [PATCH] add multiargs support to get_resource_path --- util.py => lib/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename util.py => lib/util.py (83%) diff --git a/util.py b/lib/util.py similarity index 83% rename from util.py rename to lib/util.py index 53cc6505..1a8cd4c2 100644 --- a/util.py +++ b/lib/util.py @@ -12,6 +12,6 @@ def appdata_dir(): else: raise Exception("Unknown system") -def get_resource_path(filename): - return os.path.join(appdata_dir(), filename) +def get_resource_path(*args): + return os.path.join(appdata_dir(), *args)