Typo in modules/coins.py, "len(list > 2)" -> "len(list) > 2"

This commit is contained in:
jesopo 2018-10-19 11:15:41 +01:00
parent 74330f5dee
commit 472c4fb1f3

View file

@ -319,7 +319,7 @@ class Module(ModuleManager.BaseModule):
:usage: heads|tails <coin amount>
"""
wallet_in, wallet_out = self._default_wallets(event["user"])
if len(event["args_split"] > 2):
if len(event["args_split"]) > 2:
wallet_in, wallet_out = self._parse_wallets(event["user"],
event["args_split"][2])