allow empty path input to use '.' rather than bail with error
This commit is contained in:
parent
ce2fd23461
commit
57aa2449e7
@ -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 + '/'
|
||||
|
||||
|
Reference in New Issue
Block a user