Skip to content

Commit b2be797

Browse files
committed
Merged in [16600] from rjsparks@nostrum.com:
Fixed a subtle bug in the code that converts slides to PDF that was writing back into settings. - Legacy-Id: 16645 Note: SVN reference [16600] has been migrated to Git commit b4714f9
1 parent 7e34b3c commit b2be797

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)