chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8b417b
)
Also allow for '~' and '~user'
author
Daniel Martí
<mvdan@mvdan.cc>
Sat, 7 Dec 2013 12:21:45 +0000
(13:21 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Sat, 7 Dec 2013 12:21:45 +0000
(13:21 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 58d024a51cd4cb5872ea894132a6d7671d38b149..5b3d7c620234d897f3bf0787583122b36c612a18 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-77,6
+77,7
@@
def read_config(opts, config_file='config.py'):
for k, v in config.items():
if type(v) != str:
continue
+ v = os.path.expanduser(v)
config[k] = os.path.expandvars(v)
# Check that commands and binaries do exist