datetime: Fix typo from pylint fix

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy committed 2022-07-04 20:58:21 -04:00
1 parent bb35ddfeaa
commit d42a07a630
1 file changed
+1 -1
+1 -1
View File
@@ -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):