From dbc9791aa8e86eeaa8d42ea7c92b085afaee0e18 Mon Sep 17 00:00:00 2001 From: Kimmo Huoman Date: Mon, 21 Dec 2020 19:23:45 +0200 Subject: [PATCH] Fix to a bug in Python 2.7. --- .github/workflows/test.yml | 2 +- fmi/fmi.py | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f0edf88..68c17d5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.5', '3.6', '3.7', '3.8', '3.9'] + python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9'] steps: - uses: actions/checkout@v2 diff --git a/fmi/fmi.py b/fmi/fmi.py index 5473e98..13c392a 100644 --- a/fmi/fmi.py +++ b/fmi/fmi.py @@ -111,5 +111,5 @@ def forecast(self, model='hirlam', **params): return self.get( 'fmi::forecast::%s::surface::point::timevaluepair' % (model), maxlocations=1, - **params, - klass=Forecast) + klass=Forecast, + **params) diff --git a/setup.py b/setup.py index ed21b1b..46b80a9 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='fmi_weather', - version='1.1.0', + version='1.1.1', description='FMI weather data fetcher', author='Kimmo Huoman', author_email='kipenroskaposti@gmail.com',