fixing indentation

This commit is contained in:
Mark McIntyre 2023-05-12 08:29:13 -04:00
parent a39664a813
commit 318837965b

View File

@ -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"