Mercurial > piecrust2
diff piecrust/data/assetor.py @ 886:dcdec4b951a1
admin: Get the admin panel working again.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 20 Jun 2017 21:13:08 -0700 |
parents | 504ddb370df8 |
children | 9d804fa186a0 |
line wrap: on
line diff
--- a/piecrust/data/assetor.py Tue Jun 20 21:12:35 2017 -0700 +++ b/piecrust/data/assetor.py Tue Jun 20 21:13:08 2017 -0700 @@ -45,6 +45,10 @@ self._cacheAssets() return len(self._cache_list) + def _getAssetNames(self): + self._cacheAssets() + return self._cache_map.keys() + def _getAssetItems(self): self._cacheAssets() return map(lambda i: i.content_item, self._cache_map.values())