From 4d2345f4b9d0bc045e1a73278b6dc25a4eb8da23 Mon Sep 17 00:00:00 2001 From: miruka Date: Sun, 15 Mar 2020 10:26:53 -0400 Subject: [PATCH] Fix JsonDataFile default file loading --- src/backend/user_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/user_files.py b/src/backend/user_files.py index dc423297..bf72eb99 100644 --- a/src/backend/user_files.py +++ b/src/backend/user_files.py @@ -116,7 +116,7 @@ class JSONDataFile(DataFile): """ try: - data = json.loads(await super().read()) + data = json.loads(self.path.read_text()) except FileNotFoundError: if not self.create_missing: return await self.default_data()