]> git.gag.com Git - fw/quantimotor/commitdiff
need to import shlex to use it
authorBdale Garbee <bdale@gag.com>
Tue, 27 May 2025 18:40:18 +0000 (12:40 -0600)
committerBdale Garbee <bdale@gag.com>
Tue, 27 May 2025 18:40:18 +0000 (12:40 -0600)
ui/app.py

index 81cdcf61b52d9ce153192fc19f5161a5a81fd5ac..47b676cb376f921560ed58d9f774dc28406800b1 100755 (executable)
--- 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):