mercurial/templater.py
changeset 8223 02145b700fe4
parent 8218 e61cb2813d2a
child 8225 46293a0c7e9f
--- a/mercurial/templater.py	Mon Apr 27 12:37:19 2009 +0200
+++ b/mercurial/templater.py	Mon Apr 27 16:26:31 2009 +0200
@@ -196,7 +196,7 @@
     if paths is None:
         paths = templatepath()
     elif isinstance(paths, str):
-        paths = [templatepath]
+        paths = [paths]
 
     locations = style and [os.path.join(style, "map"), "map-" + style] or []
     locations.append("map")