Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Introduction of cache system #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from src import valorant_manager
from src import image_builder
from src.fetch_data import fetch_images, fetch_matches
from src.fetch_data import fetch_images, fetch_matches, write_json

def main():
mgr = valorant_manager.Valorant()
Expand All @@ -21,6 +21,7 @@ def main():
elif match_id == "exit":
break
elif match_id == "reload":
write_json({})
choices[:-2] = fetch_matches(mgr, content)
continue
if match_id is not None and match_id != "":
Expand Down
Loading