Skip to content

Commit

Permalink
Merge pull request #67 from grycap/devel
Browse files Browse the repository at this point in the history
Fix #66
  • Loading branch information
micafer authored Oct 8, 2020
2 parents b8f7130 + dc8a847 commit 70807a0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/appdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ def check_supported_VOs(site, vo):
return True

if 'provider:image' in site:
for os_tpl in site['provider:image']:
if isinstance(site['provider:image'], list):
images = site['provider:image']
else:
images = [site['provider:image']]
for os_tpl in images:
if '@voname' in os_tpl and vo in os_tpl['@voname']:
return True
return False
Expand Down

0 comments on commit 70807a0

Please sign in to comment.