hamsclientfork 0.2.13__tar.gz → 0.2.14__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hamsclientfork
3
- Version: 0.2.13
3
+ Version: 0.2.14
4
4
  Summary: Library to get data from meteo swiss
5
5
  Home-page: https://github.com/Rudd-O/hamsclientfork
6
6
  Author: websylv
@@ -295,7 +295,8 @@ class meteoSwissClient:
295
295
  stationData = data.loc[data["Station/Location"].str.contains(station)]
296
296
  stationData = stationData.to_dict("records")
297
297
  condition_list.extend(stationData)
298
- conditions[station] = stationData[0]
298
+ if stationData:
299
+ conditions[station] = stationData[0]
299
300
  self._condition = condition_list
300
301
  self._conditions = conditions
301
302
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hamsclientfork
3
- Version: 0.2.13
3
+ Version: 0.2.14
4
4
  Summary: Library to get data from meteo swiss
5
5
  Home-page: https://github.com/Rudd-O/hamsclientfork
6
6
  Author: websylv
@@ -15,7 +15,7 @@ def read(filename):
15
15
 
16
16
  setup(
17
17
  name="hamsclientfork",
18
- version="0.2.13",
18
+ version="0.2.14",
19
19
  url="https://github.com/Rudd-O/hamsclientfork",
20
20
  license="MIT",
21
21
  author="websylv",
File without changes
File without changes