switch from logging to logger

This commit is contained in:
Ace 2020-11-13 16:43:37 +01:00
parent 8db419fa37
commit 9aea1f568c

View File

@ -440,7 +440,7 @@ class Weather(inkycal_module):
# Format the windspeed to user preference # Format the windspeed to user preference
if self.use_beaufort == True: if self.use_beaufort == True:
logging.debug("using beaufort for wind") logger.debug("using beaufort for wind")
wind = str(weather.wind(unit='beaufort')['speed']) wind = str(weather.wind(unit='beaufort')['speed'])
elif self.use_beaufort == False: elif self.use_beaufort == False: