Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Nov 7, 2016
1 parent 579d919 commit 8acdd67
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions kinto_changes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

def includeme(config):
settings = config.get_settings()
collections = aslist(settings.get(
'event_listeners.changes.collections', []))
collections = settings.get('event_listeners.changes.collections', [])

config.add_api_capability(
"changes",
Expand All @@ -18,4 +17,4 @@ def includeme(config):
" and collection.",
url="http://kinto.readthedocs.io/en/latest/tutorials/"
"synchronisation.html#polling-for-remote-changes",
collections=collections)
collections=aslist(collections))

0 comments on commit 8acdd67

Please sign in to comment.