From c3eb026e9c6928d11a72c3a83997ad57309d28ce Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 27 Feb 2006 17:11:36 +0000 Subject: [PATCH] fix wrong var name --- src/config.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/config.py b/src/config.py index a5f4a3287..267d709e1 100644 --- a/src/config.py +++ b/src/config.py @@ -1296,9 +1296,8 @@ class AccountModificationWindow: ('priority', 'proxy', 'usessl', 'keyname', 'use_custom_host', 'custom_host')) - if config.has_key('use_custom_port') and config['use_custom_port']: - if self.option_changed(config, 'custom_host') or\ - self.option_changed(config, 'custom_port'): + if config['use_custom_host'] and (self.option_changed(config, + 'custom_host') or self.option_changed(config, 'custom_port')): relogin_needed = True if relogin_needed: