Print sorted list of available templates

This commit is contained in:
Rob McMullen 2017-05-04 10:45:45 -07:00
parent b766dcbf46
commit bd5664c79c
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ def list_templates():
path = get_template_path()
files = glob.glob(os.path.join(path, "*"))
print "Available templates:"
for name in files:
for name in sorted(files):
if name.endswith(".inf"):
continue
try: