From 7129833254fac5f2012f02618ce51f4176942296 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Sun, 29 Nov 2020 00:32:05 +0100 Subject: [PATCH] add in_menu option to registering commands so that barcodes don't show up in the menu for parameterized methods. --- screenless/bureau/bureau.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenless/bureau/bureau.py b/screenless/bureau/bureau.py index 58fdc86..da61d26 100644 --- a/screenless/bureau/bureau.py +++ b/screenless/bureau/bureau.py @@ -239,7 +239,7 @@ class Bureau(object): # TODO: eventually refactor this since it could overwrite a half-broken config sp_dict = {"vendorid": "", "productid": "", "inep": "", "outep": "", "width": "384", "textwidth": "32", - "profile", ""} + "profile": ""} lp_dict = {"name": "", "papersize": "A4", "duplex": "False"} printcfg["smallprinter"] = sp_dict printcfg["largeprinter"] = lp_dict