projects
/
kiosk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make it so that I can verbally scroll chrome.
[kiosk.git]
/
gcal_trigger.py
diff --git
a/gcal_trigger.py
b/gcal_trigger.py
index b7da3b2c2ce5a8b9dea43837bfa85a03ee447073..81e603ee95f54f57bf96aad9f3f74602e9a4ec5a 100644
(file)
--- a/
gcal_trigger.py
+++ b/
gcal_trigger.py
@@
-1,17
+1,17
@@
#!/usr/bin/env python3
#!/usr/bin/env python3
-from typing import Tuple
+from typing import
List, Optional,
Tuple
-import constants
+import
kiosk_constants as
constants
import globals
import trigger
class gcal_trigger(trigger.trigger):
import globals
import trigger
class gcal_trigger(trigger.trigger):
- def get_triggered_page_list(self) ->
Tuple[str, int
]:
+ def get_triggered_page_list(self) ->
Optional[List[Tuple[str, int]]
]:
if globals.get("gcal_triggered"):
print("****** gcal has an imminent upcoming event. ******")
if globals.get("gcal_triggered"):
print("****** gcal has an imminent upcoming event. ******")
- return
(constants.gcal_imminent_pagename, trigger.trigger.PRIORITY_HIGH)
+ return
[(constants.gcal_imminent_pagename, trigger.trigger.PRIORITY_HIGH)]
else:
return None
else:
return None