Daniel Brötzmann pushed to branch master at gajim / gajim
Commits: 018ebe9e by wurstsalat at 2022-07-24T16:22:37+02:00 fix: Settings migration: Don’t fail on missing proxies key Fixes #11050 - - - - - 1 changed file: - gajim/common/optparser.py Changes: ===================================== gajim/common/optparser.py ===================================== @@ -200,7 +200,8 @@ def update_config_to_1193(self): def update_config_to_1194(self): # Delete all BOSH proxies - for name in self.old_values['proxies']: + proxies = self.old_values.get('proxies', []) + for name in proxies: if self.old_values['proxies'][name]['type'] == 'bosh': app.config.del_per('proxies', name) for account in self.old_values['accounts']: View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/018ebe9e91f1b2ecec39ee2de6180639a45c9bd7 -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/018ebe9e91f1b2ecec39ee2de6180639a45c9bd7 You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits