From 5e02976d68656f2b1777358129dd18dd28832b0d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 12 Jun 2023 01:14:53 +0200 Subject: sqlite: fix generate-sql-header.py --- src/generate-sql-header.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3