Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit 3b09483

Browse files
authored
bugfix in list filesystems (#181)
1 parent 008f81e commit 3b09483

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

source/api/app.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,12 @@ def list_filesystems():
317317
query_params = app.current_request.query_params
318318

319319
cursor = None
320-
321-
try:
322-
cursor = query_params['cursor']
323-
except KeyError:
324-
pass
320+
321+
if query_params is not None:
322+
try:
323+
cursor = query_params['cursor']
324+
except KeyError:
325+
pass
325326

326327
try:
327328
if cursor:

0 commit comments

Comments
 (0)