From 7d11917d1ca42e8fa4d4fc07b2b0eab679cfd9fb Mon Sep 17 00:00:00 2001 From: Teymour Aldridge <42674621+teymour-aldridge@users.noreply.github.com> Date: Wed, 9 Jun 2021 18:42:16 +0100 Subject: [PATCH] Remove redundant assignment. --- nw/core/index.py | 1 - 1 file changed, 1 deletion(-) diff --git a/nw/core/index.py b/nw/core/index.py index d22f3000..fdf342af 100644 --- a/nw/core/index.py +++ b/nw/core/index.py @@ -297,7 +297,6 @@ class NWIndex(): nTitle = 0 theLines = theText.splitlines() for aLine in theLines: - aLine = aLine nLine += 1 nChar = len(aLine.strip()) if nChar == 0: