First set of updates from the major "backendification" rewrite #1

Sloučený
bss sloučil 21 commity z větve backend-frameworkification do větve master před 2019-10-11 09:00:37 -05:00
Zobrazuji pouze změny commitu 649a148209 - Zobrazit všechny commity

Zobrazit soubor

@ -64,7 +64,8 @@ class DiceRoller(object):
up to a semicolon or end of line).
"""
rolls = mods[0][0][1] if mods[0][0][1] else 1
assert trials <= 10, "Too many rolls (max: 10)."
if trials:
assert trials <= 10, "Too many rolls (max: 10)."
assert rolls <= 50, "Too many dice (max: 50) in roll."
output = ""