Mercurial > code > home > repos > light9
diff bin/listsongs @ 1114:a38955ba6f40
rdfdb port is now in the config
Ignore-this: 62a97aed9e0fe42604b8b59009b3d0e6
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Fri, 13 Jun 2014 05:25:02 +0000 |
parents | 27d2f148b630 |
children | 6fa4288da8a6 |
line wrap: on
line diff
--- a/bin/listsongs Thu Jun 12 08:59:52 2014 +0000 +++ b/bin/listsongs Fri Jun 13 05:25:02 2014 +0000 @@ -11,10 +11,11 @@ from run_local import log from twisted.internet import reactor from rdflib import RDF +from light9 import networking from light9.namespaces import L9 from light9.rdfdb.syncedgraph import SyncedGraph -graph = SyncedGraph("listsongs") +graph = SyncedGraph(networking.rdfdb.url, "listsongs") @graph.initiallySynced.addCallback def printSongs(result):