diff --git a/dumper.py b/dumper.py index 8f4801c..c4248a7 100644 --- a/dumper.py +++ b/dumper.py @@ -19,7 +19,7 @@ def dump_to_file(session,base,size,error,directory): #Read bytes that are bigger than the max_size value, split them into chunks and save them to a file def splitter(session,base,size,max_size,error,directory): - times = size/max_size + times = size//max_size diff = size % max_size if diff is 0: logging.debug("Number of chunks:"+str(times+1))