fixing indentation
This commit is contained in:
parent
a39664a813
commit
318837965b
@ -104,8 +104,8 @@ class WeatherApi:
|
||||
if not location:
|
||||
if user_preferences[nick]['location']:
|
||||
location = user_preferences[nick]['location']
|
||||
else:
|
||||
raise NoDefaultLocation()
|
||||
else:
|
||||
raise NoDefaultLocation()
|
||||
|
||||
# URL for current conditions
|
||||
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