Skip to content

Commit 9be0381

Browse files
committed
fix path in ResourceReadOnly exception
1 parent 0c02f53 commit 9be0381

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/opener/registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def manage_fs(
285285

286286
def assert_writeable(fs):
287287
if fs.getmeta().get("read_only", True):
288-
raise ResourceReadOnly(path=str(fs_url))
288+
raise ResourceReadOnly(path="/")
289289

290290
if isinstance(fs_url, FS):
291291
if writeable:

0 commit comments

Comments
 (0)