Skip to content
Snippets Groups Projects
Commit 1336ce4a authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Fixed index error

parent 94da8d41
No related branches found
No related tags found
2 merge requests!1706merge 2.8.4 to main,!1677WS-1405 Fix matrix service's CAPO properties
Pipeline #16089 passed
......@@ -253,7 +253,7 @@ class CasaMatrixService(CasaMatrixServiceIF):
# If the requested version is invalid, put the default as first in the list
# If the default is invalid, the newest version will be first in the list
if versions[0]["version"] != version:
if versions and versions[0]["version"] != version:
default = self.get_default_version(capability, telescope)
if default:
for v in versions:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment