diff --git a/mmwatch/process.py b/mmwatch/process.py index ac129af..80333fd 100755 --- a/mmwatch/process.py +++ b/mmwatch/process.py @@ -25,4 +25,9 @@ if st.run_hourly(): import config if config.ENDPOINT: import urllib2 - urllib2.urlopen('{0}/filters'.format(config.ENDPOINT)) + if isinstance(config.ENDPOINT, (list, tuple)): + urls = config.ENDPOINT + else: + urls = [config.ENDPOINT] + for url in urls: + urllib2.urlopen('{0}/filters'.format(url))