new: Poll seems to work

pull/7/head
Hannah Ward 2017-03-31 10:11:36 +01:00
parent c4c11f525d
commit 033c37a446
No known key found for this signature in database
GPG Key ID: 6F3BAD60DE190290
1 changed files with 4 additions and 1 deletions

View File

@ -74,4 +74,7 @@ for server in config:
for collection in server["collections"]:
for content_block in cli.poll(collection):
pass
log.debug("Pushing block %s", content_block)
localClient.push(content_block.content.decode("utf-8"), content_binding=content_block.binding)
log.info("Finished!")