X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Ftheme.py;h=e16326b0d4f2b4b604818db7108ac6b251462302;hb=cb3a40dfdc1c79ca57458d1c18732334d58734fd;hp=d44b854eb3973f9c40f720cdba3b5aa26131f5bf;hpb=6b2b529bd1b93c14b5d2fb9ee8c1aab9dc1300ed;p=unfold.git diff --git a/myslice/theme.py b/myslice/theme.py index d44b854e..e16326b0 100644 --- a/myslice/theme.py +++ b/myslice/theme.py @@ -14,12 +14,12 @@ class ThemeView (object): def template(self): # Load a template from the theme directory if it exists # else load it from the common templates dir - print "THEME = ",self.theme - print "TEMPLATE = ",self.template_name - print "TEMPLATE_DIRS = ",TEMPLATE_DIRS + #print "THEME = ",self.theme + #print "TEMPLATE = ",self.template_name + #print "TEMPLATE_DIRS = ",TEMPLATE_DIRS filename = self.theme + '_' + self.template_name - print any(os.path.exists(os.path.join(d,filename)) for d in TEMPLATE_DIRS) - print (os.path.exists(os.path.join(d,filename)) for d in TEMPLATE_DIRS) + #print any(os.path.exists(os.path.join(d,filename)) for d in TEMPLATE_DIRS) + #print (os.path.exists(os.path.join(d,filename)) for d in TEMPLATE_DIRS) if any(os.path.exists(os.path.join(d,filename)) for d in TEMPLATE_DIRS): return filename else: