forked from brmlab/brmbar-github
gui: try logging acct in acct_map
This commit is contained in:
parent
93f9b336b6
commit
f9230ed5bf
2 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@ class Account:
|
|||
|
||||
@classmethod
|
||||
def load_by_barcode(cls, db, barcode):
|
||||
logger.debug("load_by_barcode: %s", barcode)
|
||||
logger.debug("load_by_barcode: '%s'", barcode)
|
||||
res = db.execute_and_fetch("SELECT account FROM barcodes WHERE barcode = %s", [barcode])
|
||||
if res is None:
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue