Commit 7cbb9bb1 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

efa: parse_content: Print skipped infos in debug mode

parent eb8d1170
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -58,7 +58,8 @@ sub parse_content($) {
			# If the first field is not a time we've got some additional information.
			# Sadly, this script does not parse it yet, so it's ignored
			until ($raw->[$offer]->[$offset] =~ /^\d+:\d+$/) {
				last unless exists($raw->[$offer]->[++$offset]);
				printf("# lost information: %s\n", $raw->[$offer]->[$offset]) if ($debug);
				last unless (exists($raw->[$offer]->[++$offset]));
			}
			$return->[$offer]->[$i] = {
				deptime  => $raw->[$offer]->[$offset],