From 8dcc345e937c1bc0d8813682b00dfa6c2de253e0 Mon Sep 17 00:00:00 2001 From: Tim Buckley Date: Thu, 13 Aug 2015 16:40:48 -0600 Subject: [PATCH] Correct directory creation when an existing (but empty) target directory is specified. --- stackviz/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stackviz/export.py b/stackviz/export.py index 5e8933a..4c0fc2d 100644 --- a/stackviz/export.py +++ b/stackviz/export.py @@ -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)