Commit 3f62d6aa authored by Patrick Dohmen's avatar Patrick Dohmen

Fix "False" and "True" passed as argument to observation scripts

"False" and "True" are now converted to integer 0 and 1

Fixes issue #314
parent a14517be
Pipeline #25570359 passed with stage
in 5 minutes and 54 seconds
......@@ -90,7 +90,7 @@ def exec_gnuradio(observation_file, waterfall_file, freq, baud,
if client_settings.SATNOGS_DEV_ARGS and "--dev-args" not in arg_string:
arg_string += '--dev-args=' + client_settings.SATNOGS_DEV_ARGS + ' '
if client_settings.ENABLE_IQ_DUMP and "--enable-iq-dump" not in arg_string:
arg_string += '--enable-iq-dump=' + client_settings.ENABLE_IQ_DUMP + ' '
arg_string += '--enable-iq-dump=' + str(int(client_settings.ENABLE_IQ_DUMP is True)) + ' '
if client_settings.IQ_DUMP_FILENAME and "--iq-file-path" not in arg_string:
arg_string += '--iq-file-path=' + client_settings.IQ_DUMP_FILENAME + ' '
if not client_settings.DISABLE_DECODED_DATA and "--decoded-data-file-path" not in arg_string:
......
Markdown is supported
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