corrected small mistake in detectlines.py