mirror of
https://github.com/NullHypothesis/censorbib.git
synced 2025-07-23 14:41:07 -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:]
|
ext = ext[1:]
|
||||||
|
|
||||||
if ext not in ["pdf", "ps"]:
|
if ext not in ["pdf", "ps"]:
|
||||||
print("Skipping %s because it's not a pdf or ps file." % url,
|
|
||||||
file=sys.stderr)
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
file_name = os.path.join(output_dir, ext, bibkey + ".%s" % ext)
|
file_name = os.path.join(output_dir, ext, bibkey + ".%s" % ext)
|
||||||
if os.path.exists(file_name):
|
if os.path.exists(file_name):
|
||||||
print("Skipping %s because we already have it." % file_name,
|
|
||||||
file=sys.stderr)
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
download_pdf(url, file_name)
|
download_pdf(url, file_name)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue