diff options
| author | 2018-11-17 12:19:32 +0000 | |
|---|---|---|
| committer | 2018-11-17 12:19:32 +0000 | |
| commit | 97b2158956b97d248c9cca34b4103b6427bbed95 (patch) | |
| tree | cf56f91c0b75228a20be1c900565a4306ccde84d /modules | |
| parent | Simplify modules/dice.py (diff) | |
| signature | ||
.partition returns 3 values!
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/dice.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dice.py b/modules/dice.py index 0505bea6..8923c51c 100644 --- a/modules/dice.py +++ b/modules/dice.py @@ -11,7 +11,7 @@ class Module(ModuleManager.BaseModule): :usage: [1-5]d[1-20] """ roll = event["args_split"][0].lower() - count, sides = roll.partition("d") + count, _, sides = roll.partition("d") if not count.isdigit() or not sides.isdigit(): raise utils.EventError(ERROR_FORMAT) |
