Skip to content

Commit b4714f9

Browse files
committed
Fixed a subtle bug in the code that converts slides to PDF that was writing back into settings. Commit ready for merge.
- Legacy-Id: 16600
1 parent f6b05ae commit b4714f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/secr/proceedings/proc_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def post_process(doc):
275275
'''
276276
if is_powerpoint(doc) and hasattr(settings,'SECR_PPT2PDF_COMMAND'):
277277
try:
278-
cmd = settings.SECR_PPT2PDF_COMMAND
278+
cmd = list(settings.SECR_PPT2PDF_COMMAND) # Don't operate on the list actually in settings
279279
cmd.append(doc.get_file_path()) # outdir
280280
cmd.append(os.path.join(doc.get_file_path(),doc.uploaded_filename)) # filename
281281
subprocess.check_call(cmd)

0 commit comments

Comments
 (0)