1
0
Fork 0
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:
Shlomi Fish 2019-06-05 15:06:51 +03:00
parent ae16134dce
commit f64875c418

View file

@ -277,7 +277,7 @@ PysolRandom = MTRandom
def _match_ms(s):
"""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