fixing indentation
This commit is contained in:
parent
a39664a813
commit
318837965b
@ -104,8 +104,8 @@ class WeatherApi:
|
|||||||
if not location:
|
if not location:
|
||||||
if user_preferences[nick]['location']:
|
if user_preferences[nick]['location']:
|
||||||
location = user_preferences[nick]['location']
|
location = user_preferences[nick]['location']
|
||||||
else:
|
else:
|
||||||
raise NoDefaultLocation()
|
raise NoDefaultLocation()
|
||||||
|
|
||||||
# URL for current conditions
|
# URL for current conditions
|
||||||
current_url = f"{self.weather_api_url}/current.json?key={self.api_key}&q={location}&qai=no"
|
current_url = f"{self.weather_api_url}/current.json?key={self.api_key}&q={location}&qai=no"
|
||||||
|
Loading…
Reference in New Issue
Block a user