summaryrefslogtreecommitdiff
path: root/wk6/pset
diff options
context:
space:
mode:
Diffstat (limited to 'wk6/pset')
-rw-r--r--wk6/pset/dna/dna.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wk6/pset/dna/dna.py b/wk6/pset/dna/dna.py
index 5140cf0..d14167d 100644
--- a/wk6/pset/dna/dna.py
+++ b/wk6/pset/dna/dna.py
@@ -38,7 +38,7 @@ def main():
for i in range(len(fields)):
print(i)
- if not fields[i] == 'name':
+ if fields[i] != 'name':
matches[i] = longest_match(sequence, fields[i])
else:
matches[i] = ''