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, 2 insertions, 0 deletions
diff --git a/wk6/pset/dna/dna.py b/wk6/pset/dna/dna.py
index b6955f7..d94b9f4 100644
--- a/wk6/pset/dna/dna.py
+++ b/wk6/pset/dna/dna.py
@@ -20,7 +20,9 @@ def main():
# TODO: Read database file into a variable
database = 'databases/' + sys.argv[1]
rows = []
+ header = ''
with open(database) as file:
+ header = csv.reader(file)
reader = csv.DictReader(file)
for row in reader:
rows.append(row)