Skip to content

Commit 45465f1

Browse files
committed
Merged in [16818] from rjsparks@nostrum.com:
Make hybrid pdfs when converting ppt materials to pdf. Fixes ietf-tools#2769. - Legacy-Id: 16880 Note: SVN reference [16818] has been migrated to Git commit 84270a7
1 parent c474b42 commit 45465f1

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

ietf/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ def skip_unreadable_post(record):
875875
SECR_INTERIM_LISTING_DIR = '/a/www/www6/meeting/interim'
876876
SECR_MAX_UPLOAD_SIZE = 40960000
877877
SECR_PROCEEDINGS_DIR = '/a/www/www6s/proceedings/'
878-
SECR_PPT2PDF_COMMAND = ['/usr/bin/soffice','--headless','--convert-to','pdf','--outdir']
878+
SECR_PPT2PDF_COMMAND = ['/usr/bin/soffice','--headless','--convert-to','pdf:writer_globaldocument_pdf_Export','--outdir']
879879
STATS_REGISTRATION_ATTENDEES_JSON_URL = 'https://ietf.org/registration/attendees/{number}'
880880
NEW_PROCEEDINGS_START = 95
881881
USE_ETAGS=True

ietf/utils/log.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ def assertion(statement, state=True):
114114
frame = stack[0][0]
115115
value = eval(statement, frame.f_globals, frame.f_locals)
116116
if bool(value) != bool(state):
117-
settings.DEBUG = False
118-
if settings.DEBUG is True or settings.SERVER_MODE == 'test' :
117+
if (settings.DEBUG is True) or (settings.SERVER_MODE == 'test') :
119118
raise AssertionError("Assertion failed: '%s': %s != %s." % (statement, repr(value), state))
120119
else:
121120
# build a simulated traceback object

0 commit comments

Comments
 (0)