summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core.py b/src/core.py
index aeb06adf..d113fe25 100644
--- a/src/core.py
+++ b/src/core.py
@@ -14,8 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with Poezio. If not, see <http://www.gnu.org/licenses/>.
-from gettext import (bindtextdomain, textdomain, bind_textdomain_codeset,
- gettext as _)
+from gettext import gettext as _
from time import sleep
@@ -238,7 +237,7 @@ class Core(object):
elif message['type'] == 'groupchat':
self.on_chatstate_groupchat_conversation(message, state)
- def on_chatstate_normal_conversation(self, message,state):
+ def on_chatstate_normal_conversation(self, message, state):
tab = self.get_tab_of_conversation_with_jid(message['from'], False)
if not tab:
return False