Skip to content

Commit 8a03180

Browse files
committed
update readme
1 parent bd84910 commit 8a03180

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ task.start()
4848
try:
4949
for i in range(100):
5050
do_something(i)
51-
if i % 10 == 0:
51+
if i!= 0 and i % 10 == 0:
5252
# update the progress of the task
5353
task.update_progress(i)
5454
except Exception as e:

0 commit comments

Comments
 (0)