diff --git a/pysollib/pysolrandom.py b/pysollib/pysolrandom.py index 7d16b09f..0ca6c33a 100644 --- a/pysollib/pysolrandom.py +++ b/pysollib/pysolrandom.py @@ -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