mirror of
https://github.com/grahampugh/macadmin-scripts.git
synced 2025-12-18 10:16:37 +00:00
Fix code for testing for answer
This commit is contained in:
parent
ebd97d4d2b
commit
33ec252d47
@ -390,7 +390,9 @@ def main():
|
||||
answer = index+1
|
||||
print '# %s chosen.' % answer
|
||||
|
||||
if not answer:
|
||||
try:
|
||||
answer
|
||||
except NameError:
|
||||
answer = raw_input(
|
||||
'\nChoose a product to download (1-%s): ' % len(product_info))
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user