This commit is contained in:
Yann Leboulanger 2005-10-19 20:18:09 +00:00
parent af7fef5ec1
commit 7d5cba01a7
1 changed files with 1 additions and 1 deletions

View File

@ -1140,7 +1140,7 @@ class AccountModificationWindow:
self.account, 'hostname').decode('idna')
self.xml.get_widget('custom_host_entry').set_text(custom_host)
custom_port = gajim.config.get_per('accounts', self.account,
'custom_port').decode('idna')
'custom_port')
if not custom_port:
custom_port = 5222
self.xml.get_widget('custom_port_entry').set_text(unicode(custom_port))