Script execution

This commit is contained in:
x07maop
2016-03-01 12:13:01 +01:00
parent 103291117f
commit 41c5f69601

View File

@@ -290,11 +290,11 @@ def set_file(file_name):
class pol_mode_index(Readable):
def read(self):
mode = pol_mode.read
if mode = "LINEAR": return 0
if mode = "CIRC +": return 1
if mode = "CIRC -": return 2
return -1;
mode = pol_mode.read()
if mode == "LINEAR": return 0.0
if mode == "CIRC +": return 1.0
if mode == "CIRC -": return 2.0
return -1.0;
pmi = pol_mode_index()