kopia lustrzana https://github.com/hholzgra/ocitysmap
make index on separate page work again (Issue #116)
For some reason that I don't fully understand yet the output format string passed to the multipage output capability check method gets converted to uppercase. So the check for lowercase "pdf" failed, and none of the file formats could be identified as supporting multiple pages. For now it compares for both lower case "pdf" and uppder case "PDF", and with that the index output on an extra page for PDF format output works again.master
rodzic
ac04274920
commit
b04960045a
|
|
@ -340,6 +340,8 @@ class Renderer:
|
|||
def _has_multipage_format(self):
|
||||
if self.rc.output_format == 'pdf':
|
||||
return True
|
||||
if self.rc.output_format == 'PDF':
|
||||
return True
|
||||
return False
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue