Make sure py3status config section is not None
@@ -563,8 +563,7 @@ def process_config(config_path, py3_wrapper=None):
general_defaults.update(config_info['general'])
config['general'] = general_defaults
- if 'py3status' in config_info:
- config['py3status'] = config_info['py3status']
+ config['py3status'] = config_info.get('py3status', {})
modules = {}
on_click = {}
i3s_modules = []
