summaryrefslogtreecommitdiff
path: root/inkscapefigures
diff options
context:
space:
mode:
authorGilles Castel <gilles@castel.dev>2019-07-31 17:32:27 +0200
committerGilles Castel <gilles@castel.dev>2019-07-31 17:32:27 +0200
commit1dce2a89c8d07eb0bfb2010144c16fd15096dd01 (patch)
treed67827d8cba7694c62680cf0a7625940ea7103ae /inkscapefigures
parent0e41738d9479d80e44af018b76d81af7a675db80 (diff)
Create directory if not exists
Don't throw an error when the figures path doesn't exist, as later on, this gets checked and the directory will get created if not already existent.
Diffstat (limited to 'inkscapefigures')
-rwxr-xr-xinkscapefigures/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/inkscapefigures/main.py b/inkscapefigures/main.py
index d14d967..337dd56 100755
--- a/inkscapefigures/main.py
+++ b/inkscapefigures/main.py
@@ -181,7 +181,7 @@ def watch_daemon():
@click.argument(
'root',
default=os.getcwd(),
- type=click.Path(exists=True, file_okay=False, dir_okay=True)
+ type=click.Path(exists=False, file_okay=False, dir_okay=True)
)
def create(title, root):
"""