GetAllBlocks Remove and use GetAllBlock in store procedure

This commit is contained in:
2026-03-30 18:03:22 +05:30
parent ef302d980a
commit f3ca245c3d
3 changed files with 17 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ class Village:
try:
with connection.cursor() as cursor:
cursor.callproc('GetAllBlocks')
cursor.callproc('GetAllBlock')
for result in cursor.stored_results():
blocks.extend(result.fetchall())