Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Lint
  • Loading branch information
Klaus Thoden committed Oct 18, 2018
1 parent 7909523 commit b1eade6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bib_add_keyword.py
Expand Up @@ -25,7 +25,6 @@ def add_keyword(entry, keyword):
entry.pop("keyword")
else:
logging.info("No keyword found.")
pass

if "keywords" in entry:
entry_keywords = entry["keywords"]
Expand Down Expand Up @@ -77,7 +76,7 @@ def main():
writer.indent = ' '
with open(bibfile_path, 'w') as fakebibfile:
fakebibfile.write(writer.write(bib_database))
logging.debug("Added keywords to entries and wrote %s.", bibfile_path)
logging.info("Added keywords to entries and wrote %s.", bibfile_path)
# def main ends here

if __name__ == '__main__':
Expand Down

0 comments on commit b1eade6

Please sign in to comment.