Correct directory creation when an existing (but empty) target directory is specified.

This commit is contained in:
Tim Buckley 2015-08-13 16:40:48 -06:00
parent 2b799786b8
commit 8dcc345e93
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ def main():
if os.listdir(args.path):
print("Destination exists and is not empty, cannot continue")
return 1
else:
os.mkdir(args.path)
init_django(args)