mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
printer_zpl2: lint
This commit is contained in:
committed by
Nils Hamerlinck
parent
cb480f87b5
commit
ff25e28cdf
@@ -55,7 +55,7 @@ def _default_font_format(data):
|
||||
if vals.get(zpl2.ARG_HEIGHT, False) and not vals.get(zpl2.ARG_WIDTH, False):
|
||||
vals.update({zpl2.ARG_WIDTH: vals.get(zpl2.ARG_HEIGHT)})
|
||||
else:
|
||||
vals.update({zpl2.ARG_HEIGHT: 10, zpl2.ARG_HEIGHT: 10})
|
||||
vals.update({zpl2.ARG_HEIGHT: 10})
|
||||
return vals
|
||||
return {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user