diff --git a/docker/Dockerfile.base b/docker/Dockerfile.base index 2d24dd0b..da478531 100644 --- a/docker/Dockerfile.base +++ b/docker/Dockerfile.base @@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libvulkan-dev \ pybind11-dev WORKDIR /root -RUN git clone https://github.com/iqtlabs/gr-iqtlabs -b 1.0.115 +RUN git clone https://github.com/iqtlabs/gr-iqtlabs -b 1.0.116 COPY --from=iqtlabs/gamutrf-vkfft:latest /root /root/gr-iqtlabs WORKDIR /root/gr-iqtlabs/build COPY --from=iqtlabs/gamutrf-sigmf:latest /usr/local /usr/local diff --git a/gamutrf/flask_handler.py b/gamutrf/flask_handler.py index 874d75e5..171aa5c0 100644 --- a/gamutrf/flask_handler.py +++ b/gamutrf/flask_handler.py @@ -8,6 +8,7 @@ class FlaskHandler: def __init__(self, options, check_options, banned_args): self.check_options = check_options self.options = options + self.orig_options = copy.deepcopy(self.options) self.banned_args = banned_args self.reconfigures = 0 self.app = Flask(__name__) @@ -42,7 +43,9 @@ def reconf(self): continue if not hasattr(new_options, arg): return f"no such option {arg}", 400 - val_type = getattr(self.options, arg) + val_type = getattr(self.orig_options, arg) + if val == "False": + val = False try: if val_type is None: setattr(new_options, arg, val)