From 83a7f325b3da081e9e55d6e3ab09bd70a83bf34d Mon Sep 17 00:00:00 2001 From: Chris Miceli Date: Fri, 16 Apr 2021 20:57:23 -0500 Subject: [PATCH] Fix python 3.8 warnings related to identity checks --- src/footer.inc | 18 +++++++++--------- src/head.inc | 4 ++-- src/header.inc | 20 ++++++++++---------- src/index.html.tmpl | 6 +++--- src/month-%Y-%m.html.tmpl | 12 ++++++------ src/month.html.tmpl | 6 +++--- src/week.html.tmpl | 6 +++--- src/year-%Y.html.tmpl | 12 ++++++------ src/year.html.tmpl | 12 ++++++------ src/yesterday.html.tmpl | 12 ++++++------ 10 files changed, 54 insertions(+), 54 deletions(-) diff --git a/src/footer.inc b/src/footer.inc index cf049ee..0f5e7c6 100644 --- a/src/footer.inc +++ b/src/footer.inc @@ -38,7 +38,7 @@ #end if - #if $Extras.Footer.about is not "" + #if $Extras.Footer.about != ""

$Extras.Footer.about

#end if @@ -50,11 +50,11 @@ ## Grid column
- #if $Extras.Footer.box_title is not "" + #if $Extras.Footer.box_title != ""
$Extras.Footer.box_title
#end if - #if $Extras.Footer.box_content is not "" + #if $Extras.Footer.box_content != ""

$Extras.Footer.box_content

#end if
@@ -67,22 +67,22 @@
$Extras.Translations[$Extras.language].links