kopia lustrzana https://github.com/crahan/ipyfilechooser
Update exception message
rodzic
e8290e0ff8
commit
f841f7b47b
|
@ -12,7 +12,7 @@ class SandboxPathError(Exception):
|
||||||
def __init__(self, path: str, sandbox_path: str, message: Optional[str] = None):
|
def __init__(self, path: str, sandbox_path: str, message: Optional[str] = None):
|
||||||
self.path = path
|
self.path = path
|
||||||
self.sandbox_path = sandbox_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)
|
super().__init__(self.message)
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue