ProjectDjangoTagsMenu/DjangoTagsMenuHandler.py

changeset 47
825bf5861f89
parent 44
3ea572ed13b6
child 49
ef6c805ae218
--- 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":

eric ide

mercurial