X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=trigger.py;h=842230bf184f1edc784d6a1581ffe905b5772d94;hb=477c84bcdefc573278ec8ed8974d5be8baac562d;hp=e75222c87013ec753c3c6297b2a04f9b7c8c306d;hpb=c06bfef53f70551e7920bc4facce27f47b89e2ba;p=kiosk.git diff --git a/trigger.py b/trigger.py index e75222c..842230b 100644 --- a/trigger.py +++ b/trigger.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 from abc import ABC, abstractmethod -from typing import Tuple +from typing import List, Tuple, Optional class trigger(ABC): @@ -12,5 +12,5 @@ class trigger(ABC): PRIORITY_LOW = 0 @abstractmethod - def get_triggered_page_list(self) -> Tuple[str, int]: + def get_triggered_page_list(self) -> Optional[List[Tuple[str, int]]]: pass