indentation small fix
authorLoic Baron <loic.baron@lip6.fr>
Wed, 1 Oct 2014 11:25:37 +0000 (13:25 +0200)
committerLoic Baron <loic.baron@lip6.fr>
Wed, 1 Oct 2014 11:25:37 +0000 (13:25 +0200)
plugins/univbris/__init__.py

index 444fffe..89b3ec5 100644 (file)
@@ -9,10 +9,10 @@ class Univbris(Plugin):
        print "called univbris plugin"
 
     def template_file (self):
-       try:
-        return "univbris_welcome.html"
-       except:
-               print "error template"
+        try:
+            return "univbris_welcome.html"
+        except Exception:
+                   print "error template"
 
     def requirements (self):
         reqs = {