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