Merged in [16598] from rjsparks@nostrum.com:

Add the ppt* to pdf conversion to the approve-suggested-slides workflow. Fixes #2762.
 - Legacy-Id: 16643
Note: SVN reference [16598] has been migrated to Git commit c43dcaa8ea707c089fc66f52c361944cef1d4874
This commit is contained in:
Henrik Levkowetz 2019-08-10 17:00:49 +00:00
parent 624a4c5bce
commit 8a9e6911cd

View file

@ -2491,6 +2491,7 @@ def approve_proposed_slides(request, slidesubmission_id, num):
sub_name, sub_ext = os.path.splitext(submission.filename)
target_filename = '%s-%s%s' % (sub_name[:sub_name.rfind('-ss')],doc.rev,sub_ext)
os.rename(submission.staged_filepath(), os.path.join(path, target_filename))
post_process(doc)
acronym = submission.session.group.acronym
submission.delete()
return redirect('ietf.meeting.views.session_details',num=num,acronym=acronym)