diff --git a/script/local.py b/script/local.py index 44af1ef..20f7f02 100644 --- a/script/local.py +++ b/script/local.py @@ -110,7 +110,7 @@ def convert_file(input_file_name, output_file_name, pol = None): sep = "\t" line_sep = "\n" if pol is None: - pol = str(pol_angle.read() if (MODE == "LINEAR") else pol_mode.readback.read()) + pol = pol_angle.read() if (MODE == "LINEAR") else pol_mode.readback.read() with open(input_file_name) as inp: lines = inp.readlines() with open(output_file_name, "wb") as out: