Skip to content

Commit 53f60b9

Browse files
committed
Fix bug in flow control statement
1 parent 322d6b1 commit 53f60b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_drives/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async def post(self, drive: str = "", path: str = ""):
101101
body = self.get_json_body()
102102
if 'location' in body:
103103
result = await self._manager.new_drive(drive, **body)
104-
if 'public' in body:
104+
elif 'public' in body:
105105
result = await self._manager.add_public_drive(drive)
106106
else:
107107
result = await self._manager.new_file(drive, path, **body)

0 commit comments

Comments
 (0)