diff options
| author | 2019-11-25 16:20:40 +0000 | |
|---|---|---|
| committer | 2019-11-25 16:20:40 +0000 | |
| commit | 896dc480a52835750c434cbd443be63eeee3b39e (patch) | |
| tree | ad28f914ef47c330d5eeb55c157cac0ff254c5a9 /modules | |
| parent | .append_prefix() doens't exist anymore (diff) | |
| signature | ||
slightly nicer format for weather output
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/weather.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/weather.py b/modules/weather.py index d2caf9b5..2b950dfe 100644 --- a/modules/weather.py +++ b/modules/weather.py @@ -78,10 +78,10 @@ class Module(ModuleManager.BaseModule): wind_speed_m = "%sMPh" % round(0.6214*wind_speed, 1) if not nickname == None: - location_str = "%s: %s" % (nickname, location_str) + location_str = "(%s) %s" % (nickname, location_str) event["stdout"].write( - "(%s) %s/%s | %s | Humidity: %s | Wind: %s/%s" % ( + "%s - %s/%s | %s | Humidity: %s | Wind: %s/%s" % ( location_str, celsius, fahrenheit, description, humidity, wind_speed_k, wind_speed_m)) else: |
