Quick fix!!

Another hiccup caused by fastqc update, guess its better to ignore the html rather than removing it ;) 
+1 for iterators. You could of course also use that [ list comprehension ] to construct the list straight off instead of appending to the empty one

`fastq_dirs = [fastq_dir for fastq_dir in path if not fastq_dir.endswith('.html')]`