summaryrefslogtreecommitdiffstats
path: root/py3status/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'py3status/__init__.py')
-rwxr-xr-xpy3status/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/py3status/__init__.py b/py3status/__init__.py
index f72d008..65f3d2f 100755
--- a/py3status/__init__.py
+++ b/py3status/__init__.py
@@ -227,6 +227,10 @@ class I3status(Thread):
config[section_name].append(value)
line = '}'
+ # create an empty config for this module
+ if value not in config:
+ config[value] = {}
+
# detect internal modules to be loaded dynamically
if not self.valid_config_param(value):
config['py3_modules'].append(value)