]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - phd_site.tmpl
Adapted to Python3 and Cheetah3
[phdru.name/phdru.name.git] / phd_site.tmpl
index d176f0ee6ee6bd787e1f4d85c0be39a879f4e7b3..0388f0bf8b86c863e4e7b22e6daa9bf982fee006 100644 (file)
@@ -120,7 +120,8 @@ $body
 #end def
 #if $Tag
 <hr width="90%">
-#if isinstance($Tag, basestring)
+#from Cheetah.compat import string_type
+#if isinstance($Tag, string_type)
 #if $path.startswith("/Russian/")
 Тег:
 #else