From d42a07a630e7f99e1c945a252a026819f699d2ab Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Mon, 4 Jul 2022 20:58:21 -0400 Subject: [PATCH] datetime: Fix typo from pylint fix Signed-off-by: James Valleroy --- plinth/modules/datetime/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/datetime/views.py b/plinth/modules/datetime/views.py index a437ebdfb..d92848245 100644 --- a/plinth/modules/datetime/views.py +++ b/plinth/modules/datetime/views.py @@ -31,7 +31,7 @@ class DateTimeAppView(AppView): def get_current_time_zone(): """Get current time zone.""" path = pathlib.Path('/etc/timezone') - time_zone = path.read_text(encoding='utf-8').rstip() + time_zone = path.read_text(encoding='utf-8').rstrip() return time_zone or 'none' def form_valid(self, form):