changeset 325:8c89cd70d0e3

ignore emacs backup files Ignore-this: c32ce25734d91ddc776a4cbd7013734f
author drewp@bigasterisk.com
date Mon, 15 Jan 2018 03:01:22 -0800
parents d5dec124ccfe
children 12026e89368c
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)