fix default value for units

This commit is contained in:
Julian Pawlowski 2019-07-14 13:47:28 +02:00 committed by GitHub
parent 0baf18e046
commit 78a1636d14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
# $Id: wundergroundAPI.pm 19250 2019-04-23 19:50:40Z loredo $
# $Id: wundergroundAPI.pm 19827 2019-07-14 11:46:47Z loredo $
package wundergroundAPI;
use strict;
@ -127,7 +127,7 @@ sub new {
$self->{units} = (
defined( $apioptions->{units} )
? $apioptions->{units}
: 's'
: 'm'
);
$self->{stationId} = (
@ -744,7 +744,7 @@ sub strftimeWrapper(@) {
"abstract": "Wetter API für Weather Underground"
}
},
"version": "v1.0.0",
"version": "v1.0.1",
"author": [
"Julian Pawlowski <julian.pawlowski@gmail.com>"
],