mirror of
https://github.com/NullHypothesis/censorbib.git
synced 2025-07-22 22:21:15 -04:00
Remove distracting log messages.
This commit is contained in:
parent
f95dea821f
commit
64deb757b9
1 changed files with 0 additions and 4 deletions
|
@ -79,14 +79,10 @@ def main(file_name, output_dir):
|
|||
ext = ext[1:]
|
||||
|
||||
if ext not in ["pdf", "ps"]:
|
||||
print("Skipping %s because it's not a pdf or ps file." % url,
|
||||
file=sys.stderr)
|
||||
continue
|
||||
|
||||
file_name = os.path.join(output_dir, ext, bibkey + ".%s" % ext)
|
||||
if os.path.exists(file_name):
|
||||
print("Skipping %s because we already have it." % file_name,
|
||||
file=sys.stderr)
|
||||
continue
|
||||
|
||||
download_pdf(url, file_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue