More descriptive spaceapi status line
parent
3a8c5412fa
commit
253388c26b
3
main.py
3
main.py
|
@ -117,7 +117,8 @@ def spaceapi():
|
||||||
},
|
},
|
||||||
"state": {
|
"state": {
|
||||||
"open": space_open,
|
"open": space_open,
|
||||||
"message": "open for public" if open_day else "members only",
|
"message": ("open for public" if open_day else "members only") +
|
||||||
|
(", %d multicellular bodies present" % people_now_present['value'] if people_now_present['value'] else ""),
|
||||||
# @TODO: customized *space* logo
|
# @TODO: customized *space* logo
|
||||||
"icon": {
|
"icon": {
|
||||||
"open": "https://static.hackerspace.pl/img/status-open-small.png",
|
"open": "https://static.hackerspace.pl/img/status-open-small.png",
|
||||||
|
|
Loading…
Reference in New Issue