Added template descriptions

This commit is contained in:
Rob McMullen 2017-05-04 07:02:09 -07:00
parent 8aa248acea
commit 052e084d1d
5 changed files with 13 additions and 1 deletions

View File

@ -249,8 +249,16 @@ def list_templates():
path = get_template_path()
files = glob.glob(os.path.join(path, "*"))
print "Available templates:"
for name in files:
print os.path.basename(name)
if name.endswith(".inf"):
continue
try:
with open(name + ".inf", "r") as fh:
description = fh.read().strip()
except IOError:
description = ""
print "%-12s %s" % (os.path.basename(name), description)
def get_template_data(template):

View File

@ -0,0 +1 @@
Atari 8-bit DOS 2 double density (180K), empty VTOC

View File

@ -0,0 +1 @@
Atari 8-bit DOS 2 single density (90K), empty VTOC

View File

@ -0,0 +1 @@
Apple ][ DOS 3.3 (140K) standard RWTS, empty VTOC

View File

@ -0,0 +1 @@
Atari 8-bit DOS 3 enhanced density (130K), empty VTOC