From 0ad43684a8b54005b155dea8c123b307c920b279 Mon Sep 17 00:00:00 2001 From: Context 77 <126421199+ctx77@users.noreply.github.com> Date: Thu, 1 Aug 2024 12:49:18 +0200 Subject: [PATCH] fix python-warning about 'is not' use --- FaustBot/StringBuffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FaustBot/StringBuffer.py b/FaustBot/StringBuffer.py index 2c783bd..2c93fba 100644 --- a/FaustBot/StringBuffer.py +++ b/FaustBot/StringBuffer.py @@ -10,7 +10,7 @@ class StringBuffer: ready = list() # Python do-while-loop idx = self._buffer.find('\n') - while idx is not -1: + while idx != -1: data = self._buffer[0:idx] # data = data.strip() if len(data) >= 1: