Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def save(self, file):
file.write((LINEEND.join([
"<>"
]) % (
pdfutils._escape(self.title),
pdfutils._escape(self.author),
self.datestr,
pdfutils._escape(self.subject)
) + LINEEND).encode('utf-8'))
def save(self, file):
file.write(LINEEND.join([
"<>"
]) % (
pdfutils._escape(self.title),
pdfutils._escape(self.author),
self.datestr,
pdfutils._escape(self.subject)
) + LINEEND)
def save(self, file):
file.write(LINEEND.join([
"<>"
]) % (
pdfutils._escape(self.title),
pdfutils._escape(self.author),
self.datestr,
pdfutils._escape(self.subject)
) + LINEEND)
def save(self, file):
file.write((LINEEND.join([
"<>"
]) % (
pdfutils._escape(self.title),
pdfutils._escape(self.author),
self.datestr,
pdfutils._escape(self.subject)
) + LINEEND).encode('utf-8'))
def save(self, file):
file.write((LINEEND.join([
"<>"
]) % (
pdfutils._escape(self.title),
pdfutils._escape(self.author),
self.datestr,
pdfutils._escape(self.subject)
) + LINEEND).encode('utf-8'))
def save(self, file):
file.write(LINEEND.join([
"<>"
]) % (
pdfutils._escape(self.title),
pdfutils._escape(self.author),
self.datestr,
pdfutils._escape(self.subject)
) + LINEEND)