We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6af98ad commit a611d6fCopy full SHA for a611d6f
bin/lib/objects/PDFs.py
@@ -31,7 +31,7 @@
31
PDF_MAX_SIZE = config_loader.get_config_int('Directories', 'max_pdf_size') # bytes
32
PDF_TRANSLATED_DIR = config_loader.get_files_directory('translated_pdf')
33
if not os.path.isdir(PDF_TRANSLATED_DIR):
34
- os.mkdir(PDF_TRANSLATED_DIR)
+ os.makedirs(PDF_TRANSLATED_DIR)
35
PDF_TRANSLATED_TTL = config_loader.get_config_int('Directories', 'pdf_translation_ttl')
36
baseurl = config_loader.get_config_str("Notifications", "ail_domain")
37
config_loader = None
0 commit comments