Show More
@@ -447,8 +447,10 b' class engine(object):' | |||||
447 | engines = {'default': engine} |
|
447 | engines = {'default': engine} | |
448 |
|
448 | |||
449 | def stylelist(): |
|
449 | def stylelist(): | |
450 |
path = templatepath() |
|
450 | paths = templatepath() | |
451 | dirlist = os.listdir(path) |
|
451 | if not paths: | |
|
452 | return _('no templates found, try `hg debuginstall` for more info') | |||
|
453 | dirlist = os.listdir(paths[0]) | |||
452 | stylelist = [] |
|
454 | stylelist = [] | |
453 | for file in dirlist: |
|
455 | for file in dirlist: | |
454 | split = file.split(".") |
|
456 | split = file.split(".") |
General Comments 0
You need to be logged in to leave comments.
Login now