aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-06-12 01:14:53 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-06-12 01:20:27 +0200
commit5e02976d68656f2b1777358129dd18dd28832b0d (patch)
tree247e5e9f1a6f94706ba03a55739210de3613807c /src
parentmsg: rework some APIs (diff)
downloadcimple-5e02976d68656f2b1777358129dd18dd28832b0d.tar.gz
cimple-5e02976d68656f2b1777358129dd18dd28832b0d.zip
sqlite: fix generate-sql-header.py
Diffstat (limited to 'src')
-rwxr-xr-xsrc/generate-sql-header.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generate-sql-header.py b/src/generate-sql-header.py
index a250376..78f0517 100755
--- a/src/generate-sql-header.py
+++ b/src/generate-sql-header.py
@@ -76,7 +76,7 @@ def open_output(path):
yield sys.stdout
else:
path = os.path.abspath(path)
- os.makedirs(os.path.dirname(path))
+ os.makedirs(os.path.dirname(path), exist_ok=True)
with open(path, 'w') as fd:
yield fd