Skip to content

Commit 196f13a

Browse files
committed
STY: Pacify flake8
1 parent 4e1cab2 commit 196f13a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/cifti2/cifti2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def rgba(self):
287287
return (self.red, self.green, self.blue, self.alpha)
288288

289289
def _to_xml_element(self):
290-
if self.label is '':
290+
if self.label == '':
291291
raise Cifti2HeaderError('Label needs a name')
292292
try:
293293
v = int(self.key)

0 commit comments

Comments
 (0)