projects
/
kiosk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix cameras, improve weather, delegate health renderer to a helper,
[kiosk.git]
/
trigger.py
diff --git
a/trigger.py
b/trigger.py
index f2302da6f8ac39215dafedd9fd8f1d3926119d0c..842230bf184f1edc784d6a1581ffe905b5772d94 100644
(file)
--- a/
trigger.py
+++ b/
trigger.py
@@
-1,7
+1,7
@@
#!/usr/bin/env python3
from abc import ABC, abstractmethod
#!/usr/bin/env python3
from abc import ABC, abstractmethod
-from typing import List, Tuple
+from typing import List, Tuple
, Optional
class trigger(ABC):
class trigger(ABC):
@@
-12,5
+12,5
@@
class trigger(ABC):
PRIORITY_LOW = 0
@abstractmethod
PRIORITY_LOW = 0
@abstractmethod
- def get_triggered_page_list(self) ->
List[Tuple[str, int
]]:
+ def get_triggered_page_list(self) ->
Optional[List[Tuple[str, int]
]]:
pass
pass