changeset 1130:2a87739c243d

ignore emacs backup files Ignore-this: c32ce25734d91ddc776a4cbd7013734f darcs-hash:93e3512cc382cc4bf158b8b366d074358408861d
author drewp <drewp@bigasterisk.com>
date Mon, 15 Jan 2018 03:01:22 -0800
parents 7375eae3e095
children f2e1f28c2efb
files service/piNode/piNode.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/service/piNode/piNode.py	Mon Jan 15 03:00:26 2018 -0800
+++ b/service/piNode/piNode.py	Mon Jan 15 03:01:22 2018 -0800
@@ -53,7 +53,7 @@
         self.graph = ConjunctiveGraph()
         log.info('read config')
         for f in os.listdir('config'):
-            if f.startswith('.'): continue
+            if f.startswith('.') or not f.endswith('.n3'): continue
             self.graph.parse('config/%s' % f, format='n3')
             log.info('  parsed %s', f)
         self.graph.bind('', ROOM)