Changeset 52145798 in cboos.git


Ignore:
Timestamp:
Sep 12, 2017, 11:14:58 AM (6 years ago)
Author:
rjollos <rjollos@…>
Branches:
+testing, t12640-refinement.5, t12677-html5, t12752-grouped-query, t13116-experimental, t13116-experimental.1, t13116-experimental.2, t13117-wikimacro-BR-clear
Children:
fdf7b07
Parents:
8c79ccf
Message:

1.3.3dev: Use property of Environment class added in r14637

Refs #12410.

git-svn-id: http://trac.edgewall.org/intertrac/log:/trunk@16318 af82e41b-90c4-0310-8c96-b1721e28e2e2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trac/web/chrome.py

    r8c79ccf r52145798  
    690690        """Create the environment templates directory."""
    691691        if self.env.path:
    692             templates_dir = os.path.join(self.env.path, 'templates')
     692            templates_dir = self.env.templates_dir
    693693            if not os.path.exists(templates_dir):
    694694                os.mkdir(templates_dir)
Note: See TracChangeset for help on using the changeset viewer.