Loading poolpay/__main__.py +4 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,10 @@ director = Director(play, display) def launch_application(password: str) -> None: if director.started: # Application is already launched, don't launch it a second time return with vault.open(password), Pirc522CardReader() as card_reader: try: db.open(paths.db_file) Loading poolpay/director/Director.py +2 −0 Original line number Diff line number Diff line Loading @@ -22,9 +22,11 @@ class Director: play: Play display: Display started: bool = field(default=False, init=False) _next_scene_on_card_presented: type[Scene] = field(init=False) def start(self) -> None: self.started = True self.nothing_requested() def card_presented(self, card_id: int) -> None: Loading Loading
poolpay/__main__.py +4 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,10 @@ director = Director(play, display) def launch_application(password: str) -> None: if director.started: # Application is already launched, don't launch it a second time return with vault.open(password), Pirc522CardReader() as card_reader: try: db.open(paths.db_file) Loading
poolpay/director/Director.py +2 −0 Original line number Diff line number Diff line Loading @@ -22,9 +22,11 @@ class Director: play: Play display: Display started: bool = field(default=False, init=False) _next_scene_on_card_presented: type[Scene] = field(init=False) def start(self) -> None: self.started = True self.nothing_requested() def card_presented(self, card_id: int) -> None: Loading