5 Feb
2014
5 Feb
'14
4:50 p.m.
if prompts.open_port_before_upload_prompt == True:
print "Opening port before pre_upload prompt."
if prompts.open_port_before_upload_prompt == False:
print "Opening port after pre_upload prompt." self._show_instructions(radio, prompts.pre_upload)
I'm confused. This looks wrong to me. "If open_before is False, then open (before)"
if prompts.open_port_before_upload_prompt == False:
print "Opening port after pre_upload prompt."
if prompts.open_port_before_upload_prompt == True:
print "Opening port before pre_upload prompt." self._show_instructions(radio, prompts.pre_upload)
"If open_before is true, then open (after)".
Didn't you have it right the first time?
--Dan