Skip to content

Commit

Permalink
Merge pull request #9 from Vinfall/main
Browse files Browse the repository at this point in the history
Security & Format update
  • Loading branch information
icue authored May 21, 2024
2 parents 7154e54 + 3463028 commit d3eac34
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/analyze-wishlist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ jobs:
pip install -r requirements.txt
- name: execute py script
run: |
python swc.py -i=${{ secrets.STEAM_ID }} -d=True
sed -i 's/LAST-MODIFIED/DTSTAMP/g' output/wishlist.ics
run: python swc.py -i=${{ secrets.STEAM_ID }} -d=True

- name: check changes
id: check_changes
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dateparser>=1.2.0
ics>=0.7.2
matplotlib>=3.8.2
requests>=2.31.0
regex==2023.12.25
ics==0.8.0.dev0
matplotlib>=3.9.0
requests>=2.32.0
regex==2024.5.15
6 changes: 3 additions & 3 deletions swc.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@ def last_day_of_next_month(dt):
if value['type'] == 'DLC' and not args.include_dlc:
continue

event = Event(uid=key, name=game_name,
event = Event(uid=key, summary=game_name,
description='https://store.steampowered.com/app/' + key + description_suffix,
begin=release_date, last_modified=now,
begin=release_date, last_modified=now, dtstamp=now,
categories=['game_release'])
event.make_all_day()
cal.events.add(event)
cal.events.append(event)

time.sleep(3)

Expand Down

0 comments on commit d3eac34

Please sign in to comment.