summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-12-17 14:39:44 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-12-17 14:39:44 +0000
commite6afe9d691a70b678c4b1d788356a0eba1da5a02 (patch)
tree03d84b915ca61843beb10e0befd8266b47c10892 /src/core.py
parentc77842e1becfa458dac24d4137c47bf17748db27 (diff)
downloadpoezio-e6afe9d691a70b678c4b1d788356a0eba1da5a02.tar.gz
poezio-e6afe9d691a70b678c4b1d788356a0eba1da5a02.tar.bz2
poezio-e6afe9d691a70b678c4b1d788356a0eba1da5a02.tar.xz
poezio-e6afe9d691a70b678c4b1d788356a0eba1da5a02.zip
fix typo and catch NoSectionError in config
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index ba07abb8..833f2848 100644
--- a/src/core.py
+++ b/src/core.py
@@ -755,7 +755,7 @@ class Core(object):
if isinstance(tab, tabs.PrivateTab):
if tab.get_name() == complete_jid:
self.command_win('%s' % tab.nb)
- return tag.get_room()
+ return tab.get_room()
# create the new tab
room = self.get_room_by_name(room_name)
if not room: