We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3a3a46 commit 7554712Copy full SHA for 7554712
jupyter_server/services/contents/handlers.py
@@ -180,7 +180,7 @@ async def post(self, path=''):
180
if file_exists:
181
raise web.HTTPError(400, "Cannot POST to files, use PUT instead.")
182
183
- dir_exists = cm.dir_exists(path)
+ dir_exists = await ensure_async(cm.dir_exists(path))
184
if not dir_exists:
185
raise web.HTTPError(404, "No such directory: %s" % path)
186
0 commit comments