[IMP] base_report_to_printer: black, isort, prettier

This commit is contained in:
David Montull
2022-03-03 17:17:43 +01:00
committed by trisdoan
parent af8405637f
commit f5cb9af6db
12 changed files with 51 additions and 51 deletions

View File

@@ -173,7 +173,7 @@ class PrintingPrinter(models.Model):
return options
def print_file(self, file_name, report=None, **print_opts):
""" Print a file """
"""Print a file"""
self.ensure_one()
title = print_opts.pop("title", file_name)
connection = self.server_id._open_connection(raise_on_error=True)