diff options
author | Florent Le Coz <louiz@louiz.org> | 2012-07-07 04:56:38 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2012-07-07 04:56:38 +0200 |
commit | 5745a3e8f090618158044fd1a91b0f26f1150a30 (patch) | |
tree | 21188d3168966fa813aac1d1142e9a3ac9d70be0 | |
parent | 8739662e311a97839dececf7817d9ff12701dd5e (diff) | |
download | poezio-5745a3e8f090618158044fd1a91b0f26f1150a30.tar.gz poezio-5745a3e8f090618158044fd1a91b0f26f1150a30.tar.bz2 poezio-5745a3e8f090618158044fd1a91b0f26f1150a30.tar.xz poezio-5745a3e8f090618158044fd1a91b0f26f1150a30.zip |
typo or something like that…
-rw-r--r-- | plugins/replace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/replace.py b/plugins/replace.py index d1fbac57..5fcc971f 100644 --- a/plugins/replace.py +++ b/plugins/replace.py @@ -57,7 +57,7 @@ def replace_random_user(message, tab): return random.choice(tab.users).nick elif isinstance(tab, tabs.PrivateTab): return random.choice([JID(tab.name).resource, tab.own_nick]) - else isinstance(tab, tabs.ConversationTab): + else: # that doesn’t make any sense. By why use this pattern in a # ConversationTab anyway? return str(tab.name) |