From 318837965bf9aa776640cd99e838bdd1d3b79514 Mon Sep 17 00:00:00 2001 From: Mark McIntyre Date: Fri, 12 May 2023 08:29:13 -0400 Subject: [PATCH] fixing indentation --- weather.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weather.py b/weather.py index ad92091..607e046 100644 --- a/weather.py +++ b/weather.py @@ -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"