Преглед изворни кода

[Fix] country on openweathermap

monf пре 8 година
родитељ
комит
9cf070e5f7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      neurons/openweathermap/Openweathermap.py

+ 1 - 1
neurons/openweathermap/Openweathermap.py

@@ -12,7 +12,7 @@ class Openweathermap(NeuronModule):
         location = kwargs.get('location', None)
         lang = kwargs.get('lang', 'en')
         temp_unit = kwargs.get('temp_unit', 'celsius')
-        country = kwargs.get('country', 'US')
+        country = kwargs.get('country', None)
 
         if api_key is None:
             raise NotImplementedError("OpenWeatherMap neuron needs an api_key")