mirror of
https://github.com/captn3m0/pystitcher.git
synced 2024-09-19 03:57:07 +00:00
Fix logged filename for locally cached file
This commit is contained in:
parent
31faa1a36c
commit
e70166efc2
@ -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)
|
||||
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user