mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 04:27:58 +01:00
fix: do not compare literal with "is not"
This commit is contained in:
parent
12eba07d6c
commit
f9154fd806
1 changed files with 1 additions and 1 deletions
|
@ -1002,7 +1002,7 @@ class TextArea(): # TODO support small screens (This is being work on in GNU-Po
|
||||||
for row in range(0, len(datalines)):
|
for row in range(0, len(datalines)):
|
||||||
current = leftlines[row]
|
current = leftlines[row]
|
||||||
if len(datalines[row].strip()) == 0:
|
if len(datalines[row].strip()) == 0:
|
||||||
if current is not 'comment':
|
if current != 'comment':
|
||||||
if current != last:
|
if current != last:
|
||||||
self.datamap[current] = None
|
self.datamap[current] = None
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue