Skip to content

Commit 5745a3e

Browse files
committed
typo or something like that…
1 parent 8739662 commit 5745a3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/replace.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def replace_random_user(message, tab):
5757
return random.choice(tab.users).nick
5858
elif isinstance(tab, tabs.PrivateTab):
5959
return random.choice([JID(tab.name).resource, tab.own_nick])
60-
else isinstance(tab, tabs.ConversationTab):
60+
else:
6161
# that doesn’t make any sense. By why use this pattern in a
6262
# ConversationTab anyway?
6363
return str(tab.name)

0 commit comments

Comments
 (0)