python 2.7 - if (self.n - FROM) % self.percent == 0: -
trying find out how fix , having kinds of trouble since know pretty nothing python , xml.
here whole error, idea how fix this?
download_xml.py line 91, instart0 if (self.n - from) % self.percent == 0: zerodivisionerror: integer division or modulo zero
and here actual part in script:
def start0(self): self.n += 0 if (self.n - from) % self.percent == 0: qtcore.qtimer().singleshot(100, lambda: self.uppercent((self.n - from) / self.percent)) if self.n > to: self.working_threads -= 1
Comments
Post a Comment