From fcc55dfe56e86d3d39f55b304d85e8676f217d6f Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Wed, 17 Jun 2020 20:11:54 +0300 Subject: [PATCH] refactoring: avoid underused vars --- pysollib/hint.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pysollib/hint.py b/pysollib/hint.py index dc9a493b..2fd2c859 100644 --- a/pysollib/hint.py +++ b/pysollib/hint.py @@ -1265,9 +1265,6 @@ class BlackHoleSolver_Hint(Base_Solver_Hint): result = '' # iteration output - iter_ = 0 - depth = 0 - states = 0 for sbytes in pout: s = six.text_type(sbytes, encoding='utf-8') @@ -1279,7 +1276,7 @@ class BlackHoleSolver_Hint(Base_Solver_Hint): result = m.group(1) break - self.dialog.setText(iter=iter_, depth=depth, states=states) + self.dialog.setText(iter=0, depth=0, states=0) self.solver_state = result.lower() hints = []