mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-12-28 15:29:33 +00:00
Added template descriptions
This commit is contained in:
parent
8aa248acea
commit
052e084d1d
@ -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):
|
||||
|
1
atrcopy/templates/dos2dd.inf
Normal file
1
atrcopy/templates/dos2dd.inf
Normal file
@ -0,0 +1 @@
|
||||
Atari 8-bit DOS 2 double density (180K), empty VTOC
|
1
atrcopy/templates/dos2sd.inf
Normal file
1
atrcopy/templates/dos2sd.inf
Normal file
@ -0,0 +1 @@
|
||||
Atari 8-bit DOS 2 single density (90K), empty VTOC
|
1
atrcopy/templates/dos33.inf
Normal file
1
atrcopy/templates/dos33.inf
Normal file
@ -0,0 +1 @@
|
||||
Apple ][ DOS 3.3 (140K) standard RWTS, empty VTOC
|
1
atrcopy/templates/dos3ed.inf
Normal file
1
atrcopy/templates/dos3ed.inf
Normal file
@ -0,0 +1 @@
|
||||
Atari 8-bit DOS 3 enhanced density (130K), empty VTOC
|
Loading…
Reference in New Issue
Block a user