disco: disable if no store in config

This commit is contained in:
Thomas NOËL 2012-07-12 14:48:07 +02:00
parent c8cb743951
commit c2495232c0
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ try:
stores = root.find('installedpackages/univnautes/config/discostoresread').text.decode('base64').decode('iso-8859-1').splitlines()
DISCO_STORES_READ = [ l for l in stores if not re.match('^\s*$', l) ]
except:
DISCO_STORES_READ = [ 'https://' + HTTPS_HOSTNAME + MEDIA_URL + 'simple-disco-store/store.html' ]
DISCO_STORES_READ = [ ]
try:
stores = root.find('installedpackages/univnautes/config/discostoreswrite').text.decode('base64').decode('iso-8859-1').splitlines()