mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
isort 5.0 config/docs (#1736)
This commit is contained in:
@@ -544,7 +544,7 @@ class Renderer:
|
||||
with open(os.path.join(d, 'out.pdf'), 'rb') as f:
|
||||
return BytesIO(f.read())
|
||||
else:
|
||||
from PyPDF2 import PdfFileWriter, PdfFileReader
|
||||
from PyPDF2 import PdfFileReader, PdfFileWriter
|
||||
buffer.seek(0)
|
||||
new_pdf = PdfFileReader(buffer)
|
||||
output = PdfFileWriter()
|
||||
|
||||
Reference in New Issue
Block a user