From: Bdale Garbee Date: Tue, 27 May 2025 18:40:18 +0000 (-0600) Subject: need to import shlex to use it X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=b6d7ffcf3550540819f42964b5078b4cd564c355;p=fw%2Fquantimotor need to import shlex to use it --- diff --git a/ui/app.py b/ui/app.py index 81cdcf6..47b676c 100755 --- a/ui/app.py +++ b/ui/app.py @@ -12,6 +12,7 @@ import iio import json import os import shutil +import shlex import signal import sys import threading @@ -69,9 +70,6 @@ class DataReader(threading.Thread): file.write(bytes(samples)) buffer.cancel() - # if the cancel isn't enough... - # if 'buffer' in locals(): - # iio.triggered_buffer_cleanup(buffer) cherrypy.log('DataReader thread #%s stopped' % self.ident) class Pyro(threading.Thread):