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

Commit

Permalink
[FIX] bug fix in live matches
Browse files Browse the repository at this point in the history
Former-commit-id: 4c49deb
Former-commit-id: 29c0bc4fbda08ca588dcdbbf19db4424180a5614
Former-commit-id: c7a0346
Former-commit-id: fe3b6c4
  • Loading branch information
roysti10 committed Jan 15, 2021
1 parent 0b5e654 commit 81c2b6f
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 7 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ cd Best11-Fantasycricket

## How do I contribute to this project????

:warning: Warning! Existing contributors and/or future contributors , re-fork the repo as the commit-history has been rewritten to reduce size of the repo while cloning which makes cloning much faster than before!.

Refer to the [Contributing.md](https://github.com/HackerSpace-PESU/Best11-Fantasycricket/blob/master/.github/CONTRIBUTING.md) file of our repository
</br></br>
If you have any suggestions for our project , do raise a issue and we will look into it and if we think it helps our project we will keep it open until its implemented by us or by anyone else
Expand Down
Binary file added app/fantasy_cricket/static/bat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion app/fantasy_cricket/static/bat.png.REMOVED.git-id

This file was deleted.

Binary file added app/fantasy_cricket/static/fonts/hackerspace.ttf
Binary file not shown.

This file was deleted.

Binary file added app/fantasy_cricket/static/loading.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion app/fantasy_cricket/static/loading.gif.REMOVED.git-id

This file was deleted.

Binary file added app/fantasy_cricket/static/result1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion app/fantasy_cricket/static/result1.jpg.REMOVED.git-id

This file was deleted.

6 changes: 3 additions & 3 deletions app/fantasy_cricket/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self):
flags: flags json with links
"""

self.cricket = Cricbuzz().matches()
self.cricket = Cricbuzz()

self.supported_teams = [
"India",
Expand All @@ -54,7 +54,7 @@ def get_match(self):
Gets current matches dict
"""
matches = []
for match in self.cricket:
for match in self.cricket.matches():

if (
match["team1"]["name"] in self.supported_teams
Expand All @@ -76,7 +76,7 @@ def get_squad_file_match_type(self, teams):
Gets squad file based on teams
"""

for match in self.cricket:
for match in self.cricket.matches():

if (
match["team1"]["name"] == teams[0]
Expand Down

0 comments on commit 81c2b6f

Please sign in to comment.