From f841f7b47be79c7c5dcabcda0e41b249bf2e2e10 Mon Sep 17 00:00:00 2001 From: Thomas Bouve Date: Tue, 14 Sep 2021 23:54:10 +0200 Subject: [PATCH] Update exception message --- ipyfilechooser/filechooser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipyfilechooser/filechooser.py b/ipyfilechooser/filechooser.py index 638d4e5..55b03a8 100644 --- a/ipyfilechooser/filechooser.py +++ b/ipyfilechooser/filechooser.py @@ -12,7 +12,7 @@ class SandboxPathError(Exception): def __init__(self, path: str, sandbox_path: str, message: Optional[str] = None): self.path = path self.sandbox_path = sandbox_path - self.message = message or f'{path} is located outside of {sandbox_path}' + self.message = message or f'{path} is located outside of {sandbox_path} sandbox' super().__init__(self.message)