Skip to content

Commit

Permalink
fix bugs on add_paper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Aneoshun committed Jul 26, 2023
1 parent ad07ba1 commit 4b5a97e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions add_paper.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
if output:
print("\033[91m WARNING: There are currently either local or remote changes. Please pull/push before adding more papers:\033[0m")
print(output)
#exit()
exit()

for i in range(1, len(sys.argv)):
paper_title = sys.argv[i]
Expand All @@ -35,7 +35,7 @@
proceed_answer = input( f'\033[92m\t found and Arxiv and Cross ref (both should be the title you expect): \n\t{arxivdict["title"]} (arxiv)\n\t{crossrefdict["message"]["items"][0]["title"][0]} (crossref).\033[0m\n Correct and proceed?\n y(yes)|anything else to quit: \n')
if proceed_answer != "y":
print("\033[91m WARNING: Asked to not proceed. \033[0m")

continue


#get bib from DOI
Expand Down

0 comments on commit 4b5a97e

Please sign in to comment.