forked from brmlab/brmbar-github
gui: try logging acct in acct_map better
This commit is contained in:
parent
f9230ed5bf
commit
c3abceac5d
1 changed files with 2 additions and 1 deletions
|
@ -65,9 +65,10 @@ class ShopAdapter(QtCore.QObject):
|
||||||
return map
|
return map
|
||||||
|
|
||||||
def acct_map(self, acct):
|
def acct_map(self, acct):
|
||||||
logger.debug("acct_map: acct=%s", acct)
|
|
||||||
if acct is None:
|
if acct is None:
|
||||||
|
logger.debug("acct_map: acct is None")
|
||||||
return None
|
return None
|
||||||
|
logger.debug("acct_map: acct.acctype=%s", acct.acctype)
|
||||||
if acct.acctype == 'debt':
|
if acct.acctype == 'debt':
|
||||||
return self.acct_debt_map(acct)
|
return self.acct_debt_map(acct)
|
||||||
elif acct.acctype == "inventory":
|
elif acct.acctype == "inventory":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue