Commit 2dab50b2 authored by Hugh Brown's avatar Hugh Brown Committed by Vasilis Tsiligiannis

Convert strings to Booleans for ENABLE_IQ_DUMP and DISABLE_DECODED_DATA

This also sets the "--enable-iq-dump" argument correctly by converting
TRUE/FALSE to 1/0.

Addresses #290.
Signed-off-by: Hugh Brown's avatarHugh Brown (Saint Aardvark the Carpeted) <[email protected]>
parent 55a402f7
Pipeline #25665815 passed with stage
in 1 minute and 56 seconds
......@@ -81,9 +81,9 @@ SATNOGS_RF_GAIN = environ.get('SATNOGS_RF_GAIN', None)
SATNOGS_BB_GAIN = environ.get('SATNOGS_BB_GAIN', None)
SATNOGS_ANTENNA = environ.get('SATNOGS_ANTENNA', None)
SATNOGS_DEV_ARGS = environ.get('SATNOGS_DEV_ARGS', None)
ENABLE_IQ_DUMP = environ.get('ENABLE_IQ_DUMP', 0)
ENABLE_IQ_DUMP = bool(strtobool(environ.get('ENABLE_IQ_DUMP', 'False')))
IQ_DUMP_FILENAME = environ.get('IQ_DUMP_FILENAME', None)
DISABLE_DECODED_DATA = environ.get('DISABLE_DECODED_DATA', 0)
DISABLE_DECODED_DATA = bool(strtobool(environ.get('DISABLE_DECODED_DATA', 'False')))
# Logging configuration
DEFAULT_LOGGING = {
......
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