diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2024-11-12 18:32:52 +0100 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2024-11-12 18:32:52 +0100 |
| commit | 92cb8fc40bf7da9d715951cbee3953e2d9c1237a (patch) | |
| tree | 7247b2d04294b36b1d5f5595e5f79126fd29dcde /src/match_up/model.py | |
| parent | 7c0820d3d19927e695faa18cb3f5494ee39e0c77 (diff) | |
Fixed the bug with the csv load
Diffstat (limited to 'src/match_up/model.py')
| -rw-r--r-- | src/match_up/model.py | 2 |
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() |
