typo or something like that…

This commit is contained in:
Florent Le Coz 2012-07-07 04:56:38 +02:00
parent 8739662e31
commit 5745a3e8f0

View file

@ -57,7 +57,7 @@ def replace_random_user(message, tab):
return random.choice(tab.users).nick return random.choice(tab.users).nick
elif isinstance(tab, tabs.PrivateTab): elif isinstance(tab, tabs.PrivateTab):
return random.choice([JID(tab.name).resource, tab.own_nick]) return random.choice([JID(tab.name).resource, tab.own_nick])
else isinstance(tab, tabs.ConversationTab): else:
# that doesnt make any sense. By why use this pattern in a # that doesnt make any sense. By why use this pattern in a
# ConversationTab anyway? # ConversationTab anyway?
return str(tab.name) return str(tab.name)