From a63561bad311658784c8f029e63d1cf860ba4885 Mon Sep 17 00:00:00 2001 From: Per A Brodtkorb Date: Sun, 15 Oct 2017 15:20:48 +0200 Subject: [PATCH] pep --- wafo/fig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wafo/fig.py b/wafo/fig.py index cb7d76b..5eb9204 100644 --- a/wafo/fig.py +++ b/wafo/fig.py @@ -884,7 +884,7 @@ class _CycleGenerator(object): i += self.nfigspercycle elif result == wx.ID_BACKWARD: i -= self.nfigspercycle - else: + else: i = -1 return i