Fixes: Export filename issue
This commit is contained in:
parent
efea0bc081
commit
f440a17bdb
2 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ class ExportAsPDFHandler(FetchPresentationAssetsMixin):
|
|||
|
||||
ppt_path = os.path.join(
|
||||
self.presentation_dir,
|
||||
f"{presentation.title.replace('/', '_').replace(' ', '_')}.pptx",
|
||||
f"""{presentation.title.replace('/', '_').replace(' ', '_').replace('"', "'")}.pptx""",
|
||||
)
|
||||
|
||||
ppt_creator = PptxPresentationCreator(self.data.pptx_model, self.temp_dir)
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ class ExportAsPptxHandler(FetchPresentationAssetsMixin):
|
|||
|
||||
ppt_path = os.path.join(
|
||||
self.presentation_dir,
|
||||
f"{presentation.title.replace('/', '_').replace(' ', '_').replace('"', "'")}.pptx",
|
||||
f"""{presentation.title.replace('/', '_').replace(' ', '_').replace('"', "'")}.pptx""",
|
||||
)
|
||||
ppt_creator = PptxPresentationCreator(self.data.pptx_model, self.temp_dir)
|
||||
ppt_creator.create_ppt()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue