Fix migration of old ticket styles

This commit is contained in:
Raphael Michel
2017-05-09 17:23:17 +02:00
parent 3eec791584
commit f4a9dbb546

View File

@@ -199,7 +199,7 @@ class PdfTicketOutput(BaseTicketOutput):
})
def _legacy_layout(self):
if self.settings.get('ticketoutput_pdf_background'):
if self.settings.get('background'):
return self._migrate_from_old_settings()
else:
return self._default_layout()