--- a/ProjectDjangoTagsMenu/DjangoTagsMenuHandler.py Tue Jun 23 17:52:01 2020 +0200 +++ b/ProjectDjangoTagsMenu/DjangoTagsMenuHandler.py Tue Jun 23 17:52:32 2020 +0200 @@ -7,12 +7,6 @@ Module implementing the Django tags menu handler. """ -from __future__ import unicode_literals -try: - str = unicode -except NameError: - pass - import os import datetime @@ -907,7 +901,7 @@ None, self.tr("SSI"), [self.tr("Full path to template:")], - ["/tmp/ssi_template.html"]) + ["/tmp/ssi_template.html"]) # secok if ok: templateText = '{{% ssi "{0}" parsed %}}'.format(data[0]) elif tag == "ssifile":