diff --git a/src/pystitcher/stitcher.py b/src/pystitcher/stitcher.py index 1c8157a..d099fdd 100644 --- a/src/pystitcher/stitcher.py +++ b/src/pystitcher/stitcher.py @@ -61,7 +61,7 @@ class Stitcher: with urllib.request.urlopen(url) as response, open(os.path.basename(url), 'wb') as downloadedFile: shutil.copyfileobj(response, downloadedFile) else: - _logger.info("Locally cached PDF found at %s", url) + _logger.info("Locally cached PDF found at %s", os.path.basename(url)) return os.path.basename(url) """