mirror of
https://github.com/erkin/ponysay
synced 2024-11-10 05:44:16 +00: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)):
|
||||
current = leftlines[row]
|
||||
if len(datalines[row].strip()) == 0:
|
||||
if current is not 'comment':
|
||||
if current != 'comment':
|
||||
if current != last:
|
||||
self.datamap[current] = None
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue