From b256d1e64b1e4b0841f54b8b1c4ea502a28cd155 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Fri, 30 Dec 2022 12:14:33 +0100 Subject: [PATCH] fix sub --- controls_Weather.txt | 2 +- lib/FHEM/APIs/Weather/wundergroundAPI.pm | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/controls_Weather.txt b/controls_Weather.txt index 1f63c98..00c076c 100644 --- a/controls_Weather.txt +++ b/controls_Weather.txt @@ -1,4 +1,4 @@ UPD 2022-12-28_09:21:01 54815 FHEM/59_Weather.pm UPD 2022-12-28_09:20:44 49883 lib/FHEM/APIs/Weather/DarkSkyAPI.pm UPD 2022-12-28_09:20:52 32101 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm -UPD 2022-12-30_12:10:48 36045 lib/FHEM/APIs/Weather/wundergroundAPI.pm +UPD 2022-12-30_12:14:13 36063 lib/FHEM/APIs/Weather/wundergroundAPI.pm diff --git a/lib/FHEM/APIs/Weather/wundergroundAPI.pm b/lib/FHEM/APIs/Weather/wundergroundAPI.pm index cd17355..b73f968 100644 --- a/lib/FHEM/APIs/Weather/wundergroundAPI.pm +++ b/lib/FHEM/APIs/Weather/wundergroundAPI.pm @@ -366,7 +366,8 @@ sub _RetrieveDataFinished { sub _ProcessingRetrieveData { return 0 unless ( __PACKAGE__ eq caller(0) ); - my ( $self, $response ) = @_; + my $self = shift; + my $response = shift; if ( $self->{cached}{status} eq 'ok' and defined($response) -- 2.45.2