Commit 707d714b authored by Wei Shoulin's avatar Wei Shoulin
Browse files

tips

parent 7231c507
......@@ -26,7 +26,7 @@ class PosixFileStorage(FileStorage):
def __init__(self, root: str):
self.root = root
if not os.path.isdir(root):
raise ValueError("Root is not a directory")
raise ValueError(f"{root} is not a directory")
def get_full_file_path(self, file_path: str) -> str:
if file_path.startswith('/'):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment