Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use double digits #110

Merged
merged 2 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
API_PWD: ${{ secrets.API_PWD }}
run: |
screen -dm python app/main.py
sleep 40
sleep 200
curl http://localhost:8050/
docker:
runs-on: ubuntu-latest
Expand All @@ -64,4 +64,4 @@ jobs:
API_PWD: ${{ secrets.API_PWD }}
run: docker-compose -f docker-compose-dev.yml up -d --build
- name: Check docker sanity
run: sleep 40 && docker-compose logs && curl http://localhost:8050/
run: sleep 200 && docker-compose logs && curl http://localhost:8050/
2 changes: 1 addition & 1 deletion app/utils/alerts.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def build_individual_alert_components(live_alerts, alert_frame_urls, site_device
html.Span("Lat : {} / Lon : {}".format(alert_lat, alert_lon), style={"display": "block"}),
html.Span(f"Tour : {site_name}", style={"display": "block"}),
html.Span(
"{} / {}:{}".format(alert_date, alert_time.hour, alert_time.minute),
"{} / {}:{}".format(alert_date, f"{alert_time.hour:02}", f"{alert_time.minute:02}"),
style={"display": "block"},
),
],
Expand Down