diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-06-12 01:14:53 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-06-12 01:20:27 +0200 |
commit | 5e02976d68656f2b1777358129dd18dd28832b0d (patch) | |
tree | 247e5e9f1a6f94706ba03a55739210de3613807c | |
parent | msg: rework some APIs (diff) | |
download | cimple-5e02976d68656f2b1777358129dd18dd28832b0d.tar.gz cimple-5e02976d68656f2b1777358129dd18dd28832b0d.zip |
sqlite: fix generate-sql-header.py
-rwxr-xr-x | src/generate-sql-header.py | 2 |
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 |