Skip to content

Commit

Permalink
slim
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotwutingfeng committed Dec 22, 2023
1 parent ee15cd4 commit 7a89628
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
matrix:
python-version: ['2.7','3.12']
container:
image: python:${{ matrix.python-version }}
image: python:${{ matrix.python-version }}-slim
runs-on: ubuntu-latest
steps:
- name: checkout repo content
Expand Down
2 changes: 1 addition & 1 deletion train_arrival.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _get(url, params=None):
status_code = f.status if hasattr(f, "status") else f.getcode()
if status_code == 200:
data = f.read().decode("utf-8")
json.loads(data) # Validate JSON string.
_ = json.loads(data) # Validate JSON string.
return data
logger.error(status_code)
return "{}"
Expand Down

0 comments on commit 7a89628

Please sign in to comment.