Base_panel: fix #413
This commit is contained in:
parent
df0f8961e5
commit
3c1110d730
@ -276,7 +276,7 @@ class BasePanel(ScreenPanel):
|
|||||||
confopt = self._config.get_main_config_option("24htime")
|
confopt = self._config.get_main_config_option("24htime")
|
||||||
if now.minute != self.time_min or self.time_format != confopt:
|
if now.minute != self.time_min or self.time_format != confopt:
|
||||||
if confopt == "True":
|
if confopt == "True":
|
||||||
self.control['time'].set_text(now.strftime("%H:%M"))
|
self.control['time'].set_text(now.strftime(" %H:%M"))
|
||||||
else:
|
else:
|
||||||
self.control['time'].set_text(now.strftime("%I:%M %p"))
|
self.control['time'].set_text(now.strftime("%I:%M %p"))
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user