git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
15a8e11
)
add multiargs support to get_resource_path
author
Amir Taaki
<genjix@riseup.net>
Wed, 4 Jul 2012 23:36:32 +0000 (
01:36
+0200)
committer
Amir Taaki
<genjix@riseup.net>
Wed, 4 Jul 2012 23:36:32 +0000 (
01:36
+0200)
lib/util.py
[moved from
util.py
with 83% similarity]
patch
|
blob
|
history
diff --git
a/util.py
b/lib/util.py
similarity index 83%
rename from
util.py
rename to
lib/util.py
index
53cc650
..
1a8cd4c
100644
(file)
--- 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)