swolchok/fpdb — comment on commit 759cca50989a0ec479ec7b3bf91244938f186ff8
File: pyfpdb/PokerStarsToFpdb.py line 369
By swolchok:

Yeah the bug is that x in ("hold") is true if x is "h", "o", "l", or "d", so that code never worked. Should probably be tested by whoever wrote it...

Sent from my iPhone

On Feb 4, 2012, at 5:51 PM, Chaz Littlejohn wrote:

> hand.gametype['base'] will either be "hold", "draw", or "stud". We should probably just say 'if hand.gametype['base']=="hold":' in this case & throughout.
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/swolchok/fpdb/commit/759cca50989a0ec479ec7b3bf91244938f186ff8#commitcomment-933778