From 7eac04f2d7ed1a79df60fe2986e34494a8e2ba50 Mon Sep 17 00:00:00 2001 From: jochan Date: Fri, 10 Nov 2017 13:17:31 -0800 Subject: [PATCH] Adding quotation marks around fields in authors map. --- authors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authors.py b/authors.py index 67be7ba..c14dd7e 100644 --- a/authors.py +++ b/authors.py @@ -88,4 +88,4 @@ def replace_author(author): with open("authors.txt", "r") as in_authors, open("reformatted-authors.txt", "w") as out_authors: for author in in_authors: - out_authors.write("{0}={1}\n".format(author.strip(), replace_author(author).strip())) + out_authors.write("\"{0}\"=\"{1}\"\n".format(author.strip(), replace_author(author).strip()))