diff --git a/portal/base.py b/portal/base.py index 96c9527..39241ab 100644 --- a/portal/base.py +++ b/portal/base.py @@ -76,7 +76,7 @@ class UploadHandler: def get_uploads_subdir(self, dir_name): - subdir = self.config['UPLOADS_DIR'] / dir_name + subdir = Path(self.config['UPLOADS_DIR']) / dir_name if not subdir.exists(): subdir.mkdir(parents=True) return subdir