We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a05ecf4 commit 9c01e43Copy full SHA for 9c01e43
ocrd/ocrd/config.py
@@ -14,7 +14,7 @@ def load_config_file():
14
"""
15
fpath = Path(XDG_CONFIG_HOME, 'ocrd', 'config.yml')
16
if not fpath.parent.exists():
17
- fpath.parent.mkdir()
+ fpath.parent.mkdir(parents=True)
18
obj = DEFAULT_CONFIG
19
if not fpath.exists():
20
with open(str(fpath), 'w', encoding='utf-8') as f_out:
0 commit comments