gui: try logging acct in acct_map better

This commit is contained in:
Dominik Pantůček 2025-07-12 17:33:28 +02:00
parent f9230ed5bf
commit c3abceac5d

View file

@ -65,9 +65,10 @@ class ShopAdapter(QtCore.QObject):
return map
def acct_map(self, acct):
logger.debug("acct_map: acct=%s", acct)
if acct is None:
logger.debug("acct_map: acct is None")
return None
logger.debug("acct_map: acct.acctype=%s", acct.acctype)
if acct.acctype == 'debt':
return self.acct_debt_map(acct)
elif acct.acctype == "inventory":