Skip to content

Fixed potential divide-by-zero error in sessions.py.#82

Open
jtpereyda wants to merge 1 commit intoOpenRCE:masterfrom
jtpereyda:divide-by-zero-fix
Open

Fixed potential divide-by-zero error in sessions.py.#82
jtpereyda wants to merge 1 commit intoOpenRCE:masterfrom
jtpereyda:divide-by-zero-fix

Conversation

@jtpereyda
Copy link
Contributor

While working on an unrelated branch, I ended up with a num_mutations value of 0, causing a divide by zero error here. The ZeroDivisionError obscured the actual issue.

The fix was simple, and having the exception gone allowed me to find my actual problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant