From 98b549512db11c8620e43847dad34fa73341ad3a Mon Sep 17 00:00:00 2001 From: sergturi Date: Oct 08 2020 15:16:38 +0000 Subject: Fix #521 Lookaside API method doesn't return in URL Signed-off-by: sergturi --- diff --git a/pyrpkg/lookaside.py b/pyrpkg/lookaside.py index 084afdd..f960908 100644 --- a/pyrpkg/lookaside.py +++ b/pyrpkg/lookaside.py @@ -54,7 +54,7 @@ class CGILookasideCache(object): self.log = logging.getLogger(__name__) - self.download_path = '%(name)s/%(filename)s/%(hash)s/%(filename)s' + self.download_path = '%(name)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s' def print_progress(self, to_download, downloaded, to_upload, uploaded): if not sys.stdout.isatty():