Compare commits

..

No commits in common. "main" and "v1.0.1" have entirely different histories.
main ... v1.0.1

3 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[project] [project]
name = "lottery-tui" name = "lottery-tui"
version = "1.0.3" version = "1.0.1"
description = "A terminal user interface for lottery games." description = "A terminal user interface for lottery games."
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }] authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
dependencies = ["textual>=8.0.0", "loguru>=0.7.3"] dependencies = ["textual>=8.0.0", "loguru>=0.7.3"]

View File

@ -94,11 +94,11 @@ class EuroMillions(Lottery):
class SetForLife(Lottery): class SetForLife(Lottery):
"""A class representing the Set For Life lottery. """A class representing the Set For Life lottery.
Set For Life draws 5 numbers from a pool of 1 to 47, without replacement, Set For Life draws 5 numbers from a pool of 1 to 39, without replacement,
and 1 "Life Ball" number from a separate pool of 1 to 10. and 1 "Life Ball" number from a separate pool of 1 to 10.
""" """
POSSIBLE_NUMBERS = range(1, 48) POSSIBLE_NUMBERS = range(1, 40)
def draw(self) -> Result: def draw(self) -> Result:
"""Perform a Set For Life draw.""" """Perform a Set For Life draw."""

View File

@ -28,7 +28,6 @@ class LotteryTUI(App):
], ],
value='lotto', value='lotto',
allow_blank=False, allow_blank=False,
type_to_search=True,
id='lottery-select', id='lottery-select',
), ),
Button('Draw', id='draw-button'), Button('Draw', id='draw-button'),