v.0.10.1 restapi/mock
This commit is contained in:
@@ -21,7 +21,7 @@ class Weather_Checker:
|
||||
self.display = display
|
||||
|
||||
def mock_weather_data(self):
|
||||
filepath = "restapi/mock-weather.json"
|
||||
filepath = "restapi/mock/weather.json"
|
||||
try:
|
||||
with open(filepath, "r", encoding="utf-8") as file:
|
||||
return json.load(file)
|
||||
|
||||
Reference in New Issue
Block a user