Spaces:
Sleeping
Sleeping
kumahiyo
commited on
Commit
•
d4119c7
1
Parent(s):
7e1b030
fix input text
Browse files
main.py
CHANGED
@@ -33,7 +33,7 @@ def draw(data: Data):
|
|
33 |
seedno = 0
|
34 |
if '_seed' in data.string:
|
35 |
seed = 1024
|
36 |
-
stext = re.search(r'_seed[1-4]?',
|
37 |
stext = re.sub('_seed', '', stext.group())
|
38 |
if stext.isnumeric() and 0 < int(stext) < 5:
|
39 |
seedno = stext
|
|
|
33 |
seedno = 0
|
34 |
if '_seed' in data.string:
|
35 |
seed = 1024
|
36 |
+
stext = re.search(r'_seed[1-4]?', data.string)
|
37 |
stext = re.sub('_seed', '', stext.group())
|
38 |
if stext.isnumeric() and 0 < int(stext) < 5:
|
39 |
seedno = stext
|