From: Christian Heller Date: Thu, 7 Mar 2019 11:22:46 +0000 (+0100) Subject: Fix indentation error. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/ledger?a=commitdiff_plain;h=3c338aa21e9f035001408a60ae1e94a5a43b5095;p=plomlombot-irc.git Fix indentation error. --- diff --git a/plomlombot.py b/plomlombot.py index f46a0b1..7e0196e 100755 --- a/plomlombot.py +++ b/plomlombot.py @@ -214,12 +214,12 @@ def handle_command(command, argument, notice, target, session): tokens = [] else: tokens = argument.split(" ") - if (len(tokens) == 1 and not tokens[0].isdigit()) or \ - (tokens > 1 and - tokens[0] not in {"search", "offset-search"} or - (tokens[0] == "offset-search" and - ((not len(tokens) > 2) or (not tokens[1].isdigit())))): - help() + if (len(tokens) == 1 and not tokens[0].isdigit()) or \ + (tokens > 1 and + tokens[0] not in {"search", "offset-search"} or + (tokens[0] == "offset-search" and + ((not len(tokens) > 2) or (not tokens[1].isdigit())))): + help() return if not os.access(session.quotesfile, os.F_OK): notice("no quotes available")