mirror of
https://github.com/nichkara/InfinitumBotty.git
synced 2026-06-11 14:41:58 +02:00
fix python-warning about 'is not' use
This commit is contained in:
@@ -10,7 +10,7 @@ class StringBuffer:
|
|||||||
ready = list()
|
ready = list()
|
||||||
# Python do-while-loop
|
# Python do-while-loop
|
||||||
idx = self._buffer.find('\n')
|
idx = self._buffer.find('\n')
|
||||||
while idx is not -1:
|
while idx != -1:
|
||||||
data = self._buffer[0:idx] #
|
data = self._buffer[0:idx] #
|
||||||
data = data.strip()
|
data = data.strip()
|
||||||
if len(data) >= 1:
|
if len(data) >= 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user