Commit 0c99630e authored by Emmy Vouriot's avatar Emmy Vouriot Committed by Jérome Perrin

fix integer division because incompatible type WIP

parent 87b3b526
...@@ -1973,7 +1973,7 @@ document.write('<sc'+'ript type="text/javascript" src="http://somosite.bg/utb.ph ...@@ -1973,7 +1973,7 @@ document.write('<sc'+'ript type="text/javascript" src="http://somosite.bg/utb.ph
tested_list = [] tested_list = []
frame_list = list(range(pages_number)) frame_list = list(range(pages_number))
# assume that ZServer is configured with 4 Threads # assume that ZServer is configured with 4 Threads
conversion_per_tread = pages_number / 4 conversion_per_tread = pages_number // 4
while frame_list: while frame_list:
local_frame_list = [frame_list.pop() for i in\ local_frame_list = [frame_list.pop() for i in\
range(min(conversion_per_tread, len(frame_list)))] range(min(conversion_per_tread, len(frame_list)))]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment