Compare commits
2 Commits
60d8fcace9
...
67421db5ad
| Author | SHA1 | Date | |
|---|---|---|---|
| 67421db5ad | |||
| 915ce90749 |
@@ -7,10 +7,9 @@ window {
|
||||
|
||||
/* Large, prominent clock */
|
||||
label.date-display {
|
||||
font-size: 30px;
|
||||
font-weight: 500;
|
||||
color: #fafafa;
|
||||
padding-right: 30px;
|
||||
font-size: 18px;
|
||||
opacity: 0.75;
|
||||
margin-right: 16px;
|
||||
}
|
||||
label.clock-display {
|
||||
font-size: 32px;
|
||||
|
||||
@@ -32,6 +32,7 @@ class UIController:
|
||||
def poll():
|
||||
try:
|
||||
statuses = status_provider_callback()
|
||||
print(f"Status result {statuses}")
|
||||
|
||||
# UPDATE UI
|
||||
self._update_label(
|
||||
@@ -46,6 +47,8 @@ class UIController:
|
||||
)
|
||||
except Exception as e:
|
||||
print(f"Error polling status: {e}")
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
return True
|
||||
|
||||
poll()
|
||||
|
||||
Reference in New Issue
Block a user