aboutsummaryrefslogtreecommitdiff
path: root/src/match_up
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2024-11-12 18:32:52 +0100
committerKaran Jayachandra <mail@karanjayachandra.com>2024-11-12 18:32:52 +0100
commit92cb8fc40bf7da9d715951cbee3953e2d9c1237a (patch)
tree7247b2d04294b36b1d5f5595e5f79126fd29dcde /src/match_up
parent7c0820d3d19927e695faa18cb3f5494ee39e0c77 (diff)
Fixed the bug with the csv load
Diffstat (limited to 'src/match_up')
-rw-r--r--src/match_up/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/match_up/model.py b/src/match_up/model.py
index 4f8ec8c..bbf9827 100644
--- a/src/match_up/model.py
+++ b/src/match_up/model.py
@@ -121,7 +121,7 @@ class PlayerList:
if csv_location is not None:
print(f"CSV file provided, updating the database")
self.session.query(Player).delete()
- self._init_database_from_csv(read_csv(self.csv_location))
+ self._init_database_from_csv(read_csv(csv_location))
elif generate_random_players:
print(f"Generating random players for testing")
self._init_random_database()