mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-06 21:01:26 +02:00
Fixed broken test and cleaned up with flake8/black.
This commit is contained in:
@@ -30,4 +30,4 @@ def roll(a, b=None):
|
||||
if b is None:
|
||||
return random.randint(1, a)
|
||||
else:
|
||||
return sum([random.randint(1, b) for _ in range(a)])
|
||||
return sum([random.randint(1, b) for _ in range(a)])
|
||||
|
||||
Reference in New Issue
Block a user