Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Piet Brömmel committed May 9, 2024
1 parent 5b488dc commit 6d65bd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/data_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
branch: create-pull-request/patch
branch-suffix: timestamp
add-paths: |
data/*
commit-message: data update
Expand Down
2 changes: 1 addition & 1 deletion fetch_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def main():
eva_name_list = [line.split(",") for line in f.read().split("\n")]

curent_hour = datetime.now().hour
for eva, name in eva_name_list:
for eva, name in eva_name_list[:3]:
formatted_fchg_url = fchg_url.format(eva=eva)
save_api_data(formatted_fchg_url, save_folder / f"{eva}_fchg_{curent_hour:02}.xml", prettify=False)
for hour in range(curent_hour, curent_hour + 6):
Expand Down

0 comments on commit 6d65bd3

Please sign in to comment.