allow empty path input to use '.' rather than bail with error

This commit is contained in:
friendica 2013-02-07 15:01:26 -08:00
parent ce2fd23461
commit 57aa2449e7

View File

@ -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 + '/'