Skip to content

Commit 2508741

Browse files
committed
Use is in type comparison
1 parent 8857b7e commit 2508741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wfdb/io/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def get_annotators(db_dir, annotators):
343343
annotators = ann_list
344344
else:
345345
# In case they didn't input a list
346-
if type(annotators) == str:
346+
if type(annotators) is str:
347347
annotators = [annotators]
348348
# user input ones. Check validity.
349349
for a in annotators:

0 commit comments

Comments
 (0)