diff --git a/birthday_reminder/plugin.py b/birthday_reminder/plugin.py index 7d2350a..3dd149c 100644 --- a/birthday_reminder/plugin.py +++ b/birthday_reminder/plugin.py @@ -70,7 +70,7 @@ class BirthDayPlugin(GajimPlugin): with path.open('r') as file: content = file.read() if content: - self._birthdays = json.load(file) + self._birthdays = json.loads(content) def _store_birthdays(self): data_path = Path(configpaths.get('PLUGINS_DATA'))