Skip to content

Commit

Permalink
Merge pull request DIRACGrid#535 from chrisburr/fix-mixed-encode
Browse files Browse the repository at this point in the history
[integration] Use lists instead of tuples in VMDiracHandler
  • Loading branch information
TaykYoku authored Aug 20, 2021
2 parents d4bccf7 + 9519e7b commit e3caea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebAppDIRAC/WebApp/handler/VMDiracHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def web_getInstancesList(self):
sortValue = ast.literal_eval(sortValue.strip("[]"))
sortField = str(sortValue["property"]).replace("_", ".")
sortDir = str(sortValue["direction"])
sort = [(sortField, sortDir)]
sort = [[sortField, sortDir]]

condDict = {}
if 'cond' in self.request.arguments:
Expand Down

0 comments on commit e3caea2

Please sign in to comment.