Skip to content

Commit

Permalink
Fix _chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
Lekuruu committed Nov 13, 2023
1 parent a3ad4ff commit 4817787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/repositories/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import app

def _chunks(list, size):
n = max(1, n)
size = max(1, size)
return (list[i:i+size] for i in range(0, len(list), size))

def create(
Expand Down

0 comments on commit 4817787

Please sign in to comment.