removal of a stray ) in the Code

This commit is contained in:
2026-07-25 21:26:07 +02:00
parent a9af17c7ce
commit dceea0b047
+1 -1
View File
@@ -7327,7 +7327,7 @@ def zurueckgeben(id):
current_permissions = us.get_effective_permissions(session['username'])
if not item.get('Verfuegbar', True) and (current_permissions['actions'].get('can_manage_users', False)) or item.get('User') == username):
if not item.get('Verfuegbar', True) and (current_permissions['actions'].get('can_manage_users', False)) or item.get('User') == username:
try:
# Get ALL active borrowing records for this item and complete them
client = MongoClient(MONGODB_HOST, MONGODB_PORT)