##// END OF EJS Templates
templater: fix little problem from stylemap() changes
Dirkjan Ochtman -
r8223:02145b70 default
parent child Browse files
Show More
@@ -196,7 +196,7 b' def stylemap(style, paths=None):'
196 if paths is None:
196 if paths is None:
197 paths = templatepath()
197 paths = templatepath()
198 elif isinstance(paths, str):
198 elif isinstance(paths, str):
199 paths = [templatepath]
199 paths = [paths]
200
200
201 locations = style and [os.path.join(style, "map"), "map-" + style] or []
201 locations = style and [os.path.join(style, "map"), "map-" + style] or []
202 locations.append("map")
202 locations.append("map")
General Comments 0
You need to be logged in to leave comments. Login now