diff bin/captureDevice @ 1866:3c523c71da29

pyflakes cleanups and some refactors Ignore-this: f7372e678699175feb4e628eee3d768c
author Drew Perttula <drewp@bigasterisk.com>
date Sat, 25 May 2019 12:10:51 +0000
parents 40cc863d2b63
children 1a7e5b07bf17
line wrap: on
line diff
--- a/bin/captureDevice	Sat May 25 12:06:01 2019 +0000
+++ b/bin/captureDevice	Sat May 25 12:10:51 2019 +0000
@@ -23,6 +23,7 @@
 from light9.effect.settings import DeviceSettings
 from light9.collector.collector_client import sendToCollector
 from rdfdb.patch import Patch
+from light9.zmqtransport import parseJsonMessage
 
 stats = scales.collection('/webServer', scales.PmfStat('setAttr'))
 
@@ -174,7 +175,8 @@
                           }),
                           (r'/stats', StatsForCyclone),
                       ]),
-                      interface='::')
+                      interface='::',
+                      cap=cap)
     log.info('serving http on %s', networking.captureDevice.port)