]> git.scottworley.com Git - paperdoorknob/blobdiff - images.py
Lines between chunks
[paperdoorknob] / images.py
index d9926a3c1387b072919855b3c78d9bc023a8e719..68a96964e2dd70d0ea57b7547481507337bfe538 100644 (file)
--- a/images.py
+++ b/images.py
@@ -32,7 +32,7 @@ class DiskImageStore(ImageStore):
 
     def _filename(self, url: str) -> str:
         assert url not in self._images
 
     def _filename(self, url: str) -> str:
         assert url not in self._images
-        base = os.path.basename(url)
+        base = os.path.basename(url).replace('%', '')
         if base not in self._filenames:
             return base
         stem, ext = os.path.splitext(base)
         if base not in self._filenames:
             return base
         stem, ext = os.path.splitext(base)