use correct key when loading postgres config

This commit is contained in:
Izalia Mae 2024-09-14 05:09:48 -04:00
parent ebe3337823
commit 16fcea90f2

View file

@ -145,7 +145,7 @@ class Config:
if not config: if not config:
raise ValueError('Config is empty') raise ValueError('Config is empty')
pgcfg = config.get('postgresql', {}) pgcfg = config.get('postgres', {})
rdcfg = config.get('redis', {}) rdcfg = config.get('redis', {})
for key in type(self).KEYS(): for key in type(self).KEYS():