diff --git a/source/_static/code/fasta_reader.py b/source/_static/code/fasta_reader.py
index fe4da17522f189318f4e8735d3ddce97d3a52208..4ef969e5cc2cd403df8b1ab431cbb901917e221b 100644
--- a/source/_static/code/fasta_reader.py
+++ b/source/_static/code/fasta_reader.py
@@ -18,7 +18,6 @@ def fasta_reader(fasta_path):
                 header = line.split()
                 id_ = header[0]
                 comment = ' '.join(header[1:])
-                in_sequence = True
             else:
                 sequence += line.strip()
     return Sequence(id_ , comment, sequence)
\ No newline at end of file