Skip to content

Commit 4defc5b

Browse files
committed
src/dspace_statistics_api/app.py: run black
1 parent 4e75682 commit 4defc5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/dspace_statistics_api

src/dspace_statistics_api/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def on_get(self, req, resp):
8080
with db.cursor() as cursor:
8181
# get total number of communities/collections/items so we can estimate the pages
8282
cursor.execute(f"SELECT COUNT(id) FROM {req.context.statistics_scope}")
83-
pages = math.ceil(cursor.fetchone()['count'] / limit)
83+
pages = math.ceil(cursor.fetchone()["count"] / limit)
8484

8585
# get statistics and use limit and offset to page through results
8686
cursor.execute(

0 commit comments

Comments
 (0)