Index: chrome/common/extensions/docs/server2/template_data_source.py |
diff --git a/chrome/common/extensions/docs/server2/template_data_source.py b/chrome/common/extensions/docs/server2/template_data_source.py |
index 63c29d72d5912cb4dcb935417578927062ea2b98..7a1f6e10258fa5e4fae9676615840911d0078006 100644 |
--- a/chrome/common/extensions/docs/server2/template_data_source.py |
+++ b/chrome/common/extensions/docs/server2/template_data_source.py |
@@ -119,7 +119,7 @@ class TemplateDataSource(object): |
from the TemplateDataSource with the |get| method. |
""" |
template = self.GetTemplate(self._public_template_path, template_name) |
- if not template: |
+ if template is None: |
return None |
# TODO error handling |
render_data = template.render({ |