We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd84910 commit 8a03180Copy full SHA for 8a03180
1 file changed
README.md
@@ -48,7 +48,7 @@ task.start()
48
try:
49
for i in range(100):
50
do_something(i)
51
- if i % 10 == 0:
+ if i!= 0 and i % 10 == 0:
52
# update the progress of the task
53
task.update_progress(i)
54
except Exception as e:
0 commit comments