Skip to content

Commit f1d7e69

Browse files
committed
refactor: use named args instead of positional ones
1 parent e22c98c commit f1d7e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def get_admins(self):
148148
admins = self.cursor.fetchall()
149149
admin_list = []
150150
for admin in admins:
151-
admin_list.append(admin[0])
151+
admin_list.append(admin["user_id"])
152152
return admin_list
153153

154154
@Cache(timeout=120)

0 commit comments

Comments
 (0)