Skip to content

Commit

Permalink
fix: Adjust index in loop to start from 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Simatwa committed Jun 4, 2024
1 parent 87e2391 commit 3fc30b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion livescore_api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def main(
:rtype: list of dict or `pd.DataFrame` if filters
"""
response = []
for x, entry in enumerate(self.data.get(self.mappers["Stages"])):
for x, entry in enumerate(self.data.get(self.mappers["Stages"]), start=1):
Entry, resp = entry, {}
resp.update(self.__get_intro(Entry)) # First 3 values of self.targets
resp.update(
Expand Down

0 comments on commit 3fc30b6

Please # to comment.