mirror of
https://github.com/nichkara/InfinitumBotty.git
synced 2026-06-10 22:26:23 +02:00
fix python-warning about 'is not' use
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user