Merge pull request #496 from CPrompt/weather_fix_typo

Fixed typo for city output def
This commit is contained in:
tobi-wan-kenobi 2019-12-25 13:28:57 +01:00 committed by GitHub
commit ec0a18e3a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ class Module(bumblebee.engine.Module):
if self._showminmax:
self._showcity=False
return self.city() + self.temperature() + " Hi:" + self.tempmax() + " Lo:" + self.tempmin()
elif self._city:
elif self._showcity:
return self.city() + self.temperature()
else:
return self.temperature()