disco: disable if no store in config
This commit is contained in:
parent
c8cb743951
commit
c2495232c0
|
@ -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()
|
||||
|
|
Reference in New Issue