diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index 329c3da9..59d6a884 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -2097,7 +2097,7 @@ class Database: if updateDb: cursor.execute (self.sql.query['updateTourneysPlayer'].replace('%s', self.sql.query['placeholder']), (hand.ranks[player], hand.winnings[player], hand.winningsCurrency[player], - hand.rebuyCounts[player], hand.addOnCounts[player], hand.koCounts[player], tourneysPlayersId)) + hand.rebuyCounts[player], hand.addOnCounts[player], hand.koCounts[player], tourneysPlayersIds[player[1]])) else: if source=="HHC": cursor.execute (self.sql.query['insertTourneysPlayer'].replace('%s', self.sql.query['placeholder']),