Unverified Commit c7e0202d authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

MOTIS: Fix work command

parent 5234ccd1
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ sub run {
		if ( $entry->{is_motis} ) {

			eval {
				$self->app->motis->trip_id(
				$self->app->motis->get_trip_p(
					service => $entry->{backend_name},
					trip_id => $train_id,
				)->then(
@@ -256,9 +256,6 @@ sub run {
						$self->app->log->error(
"work($uid) @ MOTIS $entry->{backend_name}: journey: $err"
						);
						if ( $err =~ m{HTTP 429} ) {
							$dbris_rate_limited = 1;
						}
					}
				)->wait;