rrg92 commited on
Commit
5d96637
·
1 Parent(s): fe2ee67

Prevent conversion errors

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def Op2(MaxNums, sleep = 0):
10
 
11
  yield "--start--"
12
 
13
- for num in range(1, MaxNums + 1):
14
  yield f"{num}"
15
  time.sleep(sleep / 1000.0)
16
 
 
10
 
11
  yield "--start--"
12
 
13
+ for num in range(1, int(MaxNums) + 1):
14
  yield f"{num}"
15
  time.sleep(sleep / 1000.0)
16