Browse Source

Fixed string casting

Angel Rey 5 years ago
parent
commit
9264ad88e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      archivebox/index/schema.py

+ 1 - 1
archivebox/index/schema.py

@@ -249,7 +249,7 @@ class Link:
     @property
     @property
     def link_dir(self) -> str:
     def link_dir(self) -> str:
         from ..config import CONFIG
         from ..config import CONFIG
-        return Path(CONFIG['ARCHIVE_DIR']) / self.timestamp
+        return str(Path(CONFIG['ARCHIVE_DIR']) / self.timestamp)
 
 
     @property
     @property
     def archive_path(self) -> str:
     def archive_path(self) -> str: