mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2025-03-02 22:29:53 +00:00
Print sorted list of available templates
This commit is contained in:
parent
b766dcbf46
commit
bd5664c79c
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user