Skip to content

Commit b4d2ef4

Browse files
committed
Added new internal config vars.
1 parent 498705b commit b4d2ef4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

core/config.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ConfigManager:
1212
}
1313

1414
internal_keys = {
15-
'snippets', 'aliases', 'blocked'
15+
'snippets', 'aliases', 'blocked', 'notification_squad', 'subscriptions'
1616
}
1717

1818
protected_keys = {
@@ -35,8 +35,11 @@ def populate_cache(self):
3535
data = {
3636
'snippets': {},
3737
'aliases': {},
38-
'blocked': {}
38+
'blocked': {},
39+
'notification_squad': {},
40+
'subscriptions': {}
3941
}
42+
4043
try:
4144
data.update(json.load(open('config.json')))
4245
except FileNotFoundError:

0 commit comments

Comments
 (0)