Use default port of entry_host doesn't have one
This commit is contained in:
1 parent
3f573f1d71
commit
dfa2d205aa
1 file changed
+2
-1
@@ -564,7 +564,8 @@ class DBLogin(object):
|
||||
if active_profile != -1:
|
||||
profile = self.profile_store[active_profile][0]
|
||||
CONFIG['login.profile'] = profile
|
||||
host, port = self.entry_host.get_text().split(':', 1)
|
||||
host, port = (self.entry_host.get_text().split(':', 1)
|
||||
+ ['8070'])[:2]
|
||||
database = self.entry_database.get_text()
|
||||
login = self.entry_login.get_text()
|
||||
CONFIG['login.server'] = host
|
||||
|
||||
Reference in new issue
Block a user