Skip to content
Snippets Groups Projects
Commit 622b73f9 authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

Modified viewIndex selection

parent 4120b23d
No related branches found
No related tags found
No related merge requests found
...@@ -327,7 +327,6 @@ def initViews(DATASET, args): ...@@ -327,7 +327,6 @@ def initViews(DATASET, args):
if type(viewName) == bytes: if type(viewName) == bytes:
viewName = viewName.decode("utf-8") viewName = viewName.decode("utf-8")
if viewName in allowedViews: if viewName in allowedViews:
viewIndex = int(viewName[4:])
views.append(viewName) views.append(viewName)
viewsIndices.append(viewIndex) viewsIndices.append(viewIndex)
return views, viewsIndices, allViews return views, viewsIndices, allViews
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment