Skip to content
Snippets Groups Projects
Commit f56144c2 authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

Fix undefined parameters.

parent 7d8e1721
Branches
Tags
1 merge request!5v1.0.4
This commit is part of merge request !5. Comments created here will be created in the context of that merge request.
......@@ -410,10 +410,15 @@ class Main(object):
while comm.serial_instance.data_pipe_p.poll(): # Clear data pipe
comm.serial_instance.data_pipe_p.recv()
selection = self.expcombobox.get_active()
parameters = {}
parameters['version'] = self.version
# Make sure these are defined
parameters['sync'] = False
parameters['shutter'] = False
if self.adc_pot.buffer_toggle.get_active(): # True if box checked
parameters['adc_buffer'] = "2"
else:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment