mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-21 20:18:00 +01:00
Merge pull request #299 from adasiko/patch-1
fix: do not compare literal with "is not"
This commit is contained in:
commit
56089bb002
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