mirror of
https://github.com/ksherlock/ample.git
synced 2026-10-24 22:02:19 +00:00
laser 3000 does not have ram options. quick fix until fixed.
This commit is contained in:
1 parent
f651ca6b26
commit
bbcc41cc10
2 files changed
+16
No files matched your search
@@ -407,6 +407,12 @@ def make_ram(machine):
|
||||
}
|
||||
for x in machine.findall('ramoption')
|
||||
]
|
||||
|
||||
# special case for laser 3000....
|
||||
if len(options) == 0 and machine.get('name') == 'las3000':
|
||||
options.append( { "intValue": 192, "description": "192K", "value": "192K", "default": True} )
|
||||
|
||||
|
||||
# sort and add empty starting entry.
|
||||
options.sort(key=lambda x: x["intValue"])
|
||||
|
||||
|
||||
Reference in new issue
Block a user