sendet dem baruser auch den autolock status des users zu

This commit is contained in:
Tim Gröger 2020-06-23 22:00:09 +02:00
parent 4481f4707d
commit 0d04bcbce5
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ def _bar(**kwargs):
"amount": all, "amount": all,
"locked": user.locked, "locked": user.locked,
"type": type, "type": type,
"limit": user.limit "limit": user.limit,
"autoLock": user.autoLock
} }
dic[user.uid]['last_seen'] = {"year": user.last_seen.year, "month": user.last_seen.month, "day": user.last_seen.day, "hour": user.last_seen.hour, "minute": user.last_seen.minute, "second": user.last_seen.second} if user.last_seen else None dic[user.uid]['last_seen'] = {"year": user.last_seen.year, "month": user.last_seen.month, "day": user.last_seen.day, "hour": user.last_seen.hour, "minute": user.last_seen.minute, "second": user.last_seen.second} if user.last_seen else None
debug.debug("return {{ {} }}".format(dic)) debug.debug("return {{ {} }}".format(dic))