From a36375df1ef40e4ee4322511a37b581ede9db984 Mon Sep 17 00:00:00 2001 From: Ace Date: Mon, 16 Dec 2019 01:00:45 +0100 Subject: [PATCH] Added option to change 'now' string --- modules/inkycal_weather.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/inkycal_weather.py b/modules/inkycal_weather.py index a2b6489..4fb3ff8 100644 --- a/modules/inkycal_weather.py +++ b/modules/inkycal_weather.py @@ -24,6 +24,7 @@ round_windspeed = True use_beaufort = True show_wind_direction = False use_wind_direction_icon = False +now_str = 'now' """Set the optional parameters""" @@ -243,7 +244,7 @@ def main(): moonphase = get_moon_phase() """Add weather details in column 1""" - write_text(coloumn_width, row_height, 'now', text_now_pos, font = font) + write_text(coloumn_width, row_height, now_str, text_now_pos, font = font) write_text(icon_medium, icon_medium, weathericons[weather_icon_now], weather_icon_now_pos, font = w_font, fill_width = 0.9)