Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix division by zero (reported by BigBobbyTable)
(cherry picked from commit ef79b638519ec2a0313f36034f9b940e6cb290c3)
- Loading branch information
3fa0daf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 70, there are times when
completed
andstarted
appear to beNone
. I've modified my local file to readif completed is not None and started is not None and int(completed - started):
As a result of the
None
types, with the current code, you get tracebacks that look like the followingTagging @brad-accuvant so that he see's this
3fa0daf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewing the code a little, this probably isn't an actual
fix
. The solution would be to figure out why we're gettingNoneTypes
back