From cd1aa9a08765de10d7f2da865ab48934006ec417 Mon Sep 17 00:00:00 2001 From: fabihatasneem <1805072@ugrad.cse.buet.ac.bd> Date: Fri, 1 Dec 2023 20:39:40 +0600 Subject: [PATCH] Fixed Inappropriate Logical Expression --- pyrevitlib/rpw/ui/forms/console.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyrevitlib/rpw/ui/forms/console.py b/pyrevitlib/rpw/ui/forms/console.py index b96184273..e7db0575e 100644 --- a/pyrevitlib/rpw/ui/forms/console.py +++ b/pyrevitlib/rpw/ui/forms/console.py @@ -346,8 +346,6 @@ def history_iter(self): except IndexError: if len(lines) == 0: return None - if len(lines) < 0: - self.history_index += len(lines) if len(lines) > 0: self.history_index -= len(lines) line = lines[0]