Skip to content

Commit

Permalink
Merge pull request #1373 from anarkiwi/mf
Browse files Browse the repository at this point in the history
merge first cap entry.
  • Loading branch information
anarkiwi authored Aug 5, 2024
2 parents 22b440f + 752b7a7 commit df0d69d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion gamutrf/flask_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit df0d69d

Please sign in to comment.