diff service/arduinoNode/pushConfig.py @ 1259:672a3d830e7f

arduinoNode: build updates, stats support, etc Ignore-this: 39386eb7644e3cf522e0f72a874eadba darcs-hash:b6fa9fbda226917dd3b94d8a87556c4cd6d51180
author drewp <drewp@bigasterisk.com>
date Sat, 20 Apr 2019 23:28:29 -0700
parents 8b4eda2cf0bd
children 048a8df60e2e
line wrap: on
line diff
--- a/service/arduinoNode/pushConfig.py	Fri Apr 19 14:24:09 2019 -0700
+++ b/service/arduinoNode/pushConfig.py	Sat Apr 20 23:28:29 2019 -0700
@@ -4,7 +4,7 @@
 
 from twisted.python.filepath import FilePath
 
-etcd = etcd3.client(host='bang6')
+etcd = etcd3.client(host='bang6', port=9022)
 
 prefix, = sys.argv[1:]
 
@@ -12,6 +12,7 @@
     existing = set(md.key for v, md in etcd.get_prefix(prefix))
     written = set()
     root = FilePath('config')
+    print 'reading at %s' % root
     for f in root.walk():
         if f.isfile() and f.path.endswith('.n3'):
             n3 = f.getContent()