diff options
author | nico <nico.wellpott@uni-oldenburg.de> | 2018-10-02 00:31:43 +0200 |
---|---|---|
committer | nico <nico.wellpott@uni-oldenburg.de> | 2018-10-02 00:31:43 +0200 |
commit | 83e5b1f0aa91628db28235b106341cb471d856df (patch) | |
tree | 606b1b91cb01571d0dc7144fcead0d1ca10249cb | |
parent | 294a728b0f3cf4c335923b7fbe6bd7e137a3fee3 (diff) |
IndexError fix
* prevent IndexError when help is called
-rw-r--r-- | main.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -120,6 +120,7 @@ class QueryBot(slixmpp.ClientXMPP): if keyword == '!help': reply.append(StaticAnswers().gen_help()) + continue try: target = words[index + 1] |