aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 + '/'