Ver código fonte

[Fix] country on openweathermap

monf 8 anos atrás
pai
commit
9cf070e5f7
1 arquivos alterados com 1 adições e 1 exclusões
  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")