From 621feaa76caca4ce70a81e13e99e8ff70284a2d2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 17 Sep 2020 17:41:05 +0200 Subject: Fix hafas->get_xml_p That was stupid. --- lib/DBInfoscreen/Helper/HAFAS.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm index 3b55051..6a306d2 100644 --- a/lib/DBInfoscreen/Helper/HAFAS.pm +++ b/lib/DBInfoscreen/Helper/HAFAS.pm @@ -153,6 +153,8 @@ sub get_xml_p { sub { } )->wait; + + return $promise; } sub trainsearch_p { -- cgit v1.2.3