Loading poolpay/director/Director.py +5 −0 Original line number Diff line number Diff line import time from dataclasses import dataclass, field from poolpay.model.Card import Card Loading @@ -24,6 +25,10 @@ class Director: def start(self) -> None: self.nothing_requested() # Wait for the action to happen in other threads while True: time.sleep(0.1) def card_presented(self, card_id: int) -> None: card = Card.get_only(card_id) Loading Loading
poolpay/director/Director.py +5 −0 Original line number Diff line number Diff line import time from dataclasses import dataclass, field from poolpay.model.Card import Card Loading @@ -24,6 +25,10 @@ class Director: def start(self) -> None: self.nothing_requested() # Wait for the action to happen in other threads while True: time.sleep(0.1) def card_presented(self, card_id: int) -> None: card = Card.get_only(card_id) Loading