Closed peremen closed 6 years ago
Since all dependencies (openpyxl, bibtexparser, lxml, requests) are already Python 3 compatible, making a one-liner fix will make the script working on both Python 2 and 3.
diff --git a/3gpp-citations.py b/3gpp-citations.py index 91f6a64..628dfef 100644 --- a/3gpp-citations.py +++ b/3gpp-citations.py @@ -71,7 +71,7 @@ for row in ws.iter_rows(row_offset=1): entry['month'] = date[1].strip() break - print entry + print(entry) db.entries.append(entry) writer = BibTexWriter()
Done! Thanks a lot for the suggestion!
Since all dependencies (openpyxl, bibtexparser, lxml, requests) are already Python 3 compatible, making a one-liner fix will make the script working on both Python 2 and 3.