diff service/mqtt_to_rdf/mqtt_to_rdf.py @ 798:cdc76c84e3e2

move conf into subdir
author drewp@bigasterisk.com
date Tue, 29 Dec 2020 21:05:32 -0800
parents a3e430b39177
children e0e623c01a69
line wrap: on
line diff
--- a/service/mqtt_to_rdf/mqtt_to_rdf.py	Tue Dec 29 20:55:24 2020 -0800
+++ b/service/mqtt_to_rdf/mqtt_to_rdf.py	Tue Dec 29 21:05:32 2020 -0800
@@ -209,7 +209,7 @@
     verboseLogging(arg['-v'])
 
     config = Graph()
-    for fn in Path('.').glob('config_*.n3'):
+    for fn in Path('.').glob('conf/*.n3'):
         if not arg['--cs'] or str(arg['--cs']) in str(fn):
             log.debug(f'loading {fn}')
             config.parse(str(fn), format='n3')