diff --git a/jupyter_server/services/contents/filemanager.py b/jupyter_server/services/contents/filemanager.py index c56a1acc70..09cbeec13a 100644 --- a/jupyter_server/services/contents/filemanager.py +++ b/jupyter_server/services/contents/filemanager.py @@ -1025,7 +1025,7 @@ async def is_non_empty_dir(os_path): try: send2trash(os_path) except OSError as e: - raise web.HTTPError(400, "send2trash f`1ailed: %s" % e) from e + raise web.HTTPError(400, "send2trash failed: %s" % e) from e return if os.path.isdir(os_path):