diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index 4963923d..a4ec69d2 100755 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -924,6 +924,7 @@ class Database: c.execute("INSERT INTO Sites (name,currency) VALUES ('UltimateBet', 'USD')") c.execute("INSERT INTO Sites (name,currency) VALUES ('Betfair', 'USD')") c.execute("INSERT INTO Sites (name,currency) VALUES ('Absolute', 'USD')") + c.execute("INSERT INTO Sites (name,currency) VALUES ('PartyPoker', 'USD')") if self.backend == self.SQLITE: c.execute("INSERT INTO TourneyTypes VALUES (NULL, 1, 0, 0, 0, 0);") else: diff --git a/pyfpdb/HUD_config.xml.example b/pyfpdb/HUD_config.xml.example index 23ff279a..43cf4bcd 100644 --- a/pyfpdb/HUD_config.xml.example +++ b/pyfpdb/HUD_config.xml.example @@ -248,6 +248,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -383,6 +428,7 @@ + diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index 20ccfc25..0946e6f9 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -40,7 +40,7 @@ class Hand(object): LCS = {'H':'h', 'D':'d', 'C':'c', 'S':'s'} SYMBOL = {'USD': '$', 'EUR': u'$', 'T$': '', 'play': ''} MS = {'horse' : 'HORSE', '8game' : '8-Game', 'hose' : 'HOSE', 'ha': 'HA'} - SITEIDS = {'Fulltilt':1, 'PokerStars':2, 'Everleaf':3, 'Win2day':4, 'OnGame':5, 'UltimateBet':6, 'Betfair':7, 'Absolute':8} + SITEIDS = {'Fulltilt':1, 'PokerStars':2, 'Everleaf':3, 'Win2day':4, 'OnGame':5, 'UltimateBet':6, 'Betfair':7, 'Absolute':8, 'PartyPoker':9 } def __init__(self, sitename, gametype, handText, builtFrom = "HHC"):