mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-15 02:54:09 -04:00
fix pysol --deal 1/24/1000.
Low ms deals without the ms prefix caused an error.
This commit is contained in:
parent
ae16134dce
commit
f64875c418
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ PysolRandom = MTRandom
|
||||||
|
|
||||||
def _match_ms(s):
|
def _match_ms(s):
|
||||||
"""match an ms based seed string."""
|
"""match an ms based seed string."""
|
||||||
return re.match(r"ms([0-9]+)\n?\Z", s)
|
return re.match(r"ms([0-9]+)\n?\Z", str(s))
|
||||||
|
|
||||||
|
|
||||||
# construct Random from seed string
|
# construct Random from seed string
|
||||||
|
|
Loading…
Add table
Reference in a new issue