summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/issue_db.py
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-02-16 20:32:40 +0100
committerbnewbold <bnewbold@robocracy.org>2021-02-23 15:19:48 -0800
commit0d46fb5fac3c7a1268618a3ec0a9956b79fdbeaf (patch)
treefb3b243dd2b228df37bbe3b94a6c54fcbf21ff12 /fatcat_scholar/issue_db.py
parent537659325664b47b01c24e82cb4a0e850cd129c0 (diff)
downloadfatcat-scholar-0d46fb5fac3c7a1268618a3ec0a9956b79fdbeaf.tar.gz
fatcat-scholar-0d46fb5fac3c7a1268618a3ec0a9956b79fdbeaf.zip
Revert undesirable changes
Diffstat (limited to 'fatcat_scholar/issue_db.py')
-rw-r--r--fatcat_scholar/issue_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/issue_db.py b/fatcat_scholar/issue_db.py
index 057869b..3c55b51 100644
--- a/fatcat_scholar/issue_db.py
+++ b/fatcat_scholar/issue_db.py
@@ -167,7 +167,7 @@ class IssueDB:
PRAGMA main.synchronous = OFF;
"""
)
- with open("schema/issue_db.sql") as fschema:
+ with open("schema/issue_db.sql", "r") as fschema:
self.db.executescript(fschema.read())
def insert_sim_pub(self, pub: SimPubRow, cur: Any = None) -> None: