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