aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-07 15:01:26 -0800
committerfriendica <info@friendica.com>2013-02-07 15:01:26 -0800
commit57aa2449e72062894e979d908871177067fc5a06 (patch)
tree79b0b441812af3ca4a68704f726e309738bdb31f /util
parentce2fd234618366d13c8ba6991c2f2b1d88d36c90 (diff)
downloadvolse-hubzilla-57aa2449e72062894e979d908871177067fc5a06.tar.gz
volse-hubzilla-57aa2449e72062894e979d908871177067fc5a06.tar.bz2
volse-hubzilla-57aa2449e72062894e979d908871177067fc5a06.zip
allow empty path input to use '.' rather than bail with error
Diffstat (limited to 'util')
-rwxr-xr-xutil/updatetpl.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/updatetpl.py b/util/updatetpl.py
index d3dd7ef04..7a3801352 100755
--- a/util/updatetpl.py
+++ b/util/updatetpl.py
@@ -39,6 +39,9 @@ except getopt.GetoptError:
if path == '':
path = raw_input('Path to top-level Friendica directory: ')
+if path == '':
+ path = '.'
+
if path[-1:] != '/':
path = path + '/'