FIX a bug

it's an obvious bug.
This commit is contained in:
cqzlxl
2022-06-27 22:42:33 +08:00
committed by GitHub
parent 02da11e06e
commit 2d56bb74eb

View File

@@ -26,7 +26,7 @@ class ProxyAPIHandler(APIHandler):
else:
routes = {}
end = offset + limit
for i, key in sorted(all_routes.keys()):
for i, key in enumerate(sorted(all_routes.keys())):
if i < offset:
continue
elif i >= end: