CHanges to the In and out
This commit is contained in:
+3
-2
@@ -3606,8 +3606,9 @@ def api_item_detail(item_id):
|
|||||||
if borrow_records:
|
if borrow_records:
|
||||||
rows = []
|
rows = []
|
||||||
count = 1
|
count = 1
|
||||||
while count < 3:
|
|
||||||
for rec in borrow_records:
|
for rec in borrow_records:
|
||||||
|
while count < 3:
|
||||||
user_raw = rec.get('User')
|
user_raw = rec.get('User')
|
||||||
try:
|
try:
|
||||||
user = decrypt_text(user_raw) if user_raw is not None else ''
|
user = decrypt_text(user_raw) if user_raw is not None else ''
|
||||||
|
|||||||
Reference in New Issue
Block a user