Commit e5f273ce authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

ignore missing timestamps when performing a force checkout

parent 4cc510d7
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -806,11 +806,10 @@ sub startup {

				my $tx = $db->begin;

				if ( defined $train ) {

					if ( not $train->arrival ) {
				if ( defined $train and not $train->arrival and not $force ) {
					die("Train has no arrival timestamp\n");
				}
				elsif ( defined $train and $train->arrival ) {

					$has_arrived = $train->arrival->epoch < $now->epoch ? 1 : 0;
					my $json = JSON->new;