Skip to content

Commit e07a501

Browse files
committed
chore: remove sleep
1 parent a3fb096 commit e07a501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FPLbot/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ async def understat_matches_data(session, player):
7777
try:
7878
understat = Understat(session)
7979
matches_data = await understat.get_player_matches(player["id"])
80-
await asyncio.sleep(0.1)
8180
for fixture in matches_data:
8281
fixture["h_team"] = understat_team_converter(fixture["h_team"])
8382
fixture["a_team"] = understat_team_converter(fixture["a_team"])
@@ -129,6 +128,7 @@ async def update_players():
129128

130129
print("Getting Understat players...")
131130
understat_players = await get_understat_players()
131+
print("Retrieved Understat players...")
132132

133133
for player in understat_players:
134134
# Only update FPL player with desired attributes

0 commit comments

Comments
 (0)