fix win_task for py3

.keys() on python3 creates a dict_keys object which cannot be indexed like a
list, if we just call list() on the dictionary we get a list of keys.
This commit is contained in:
Daniel Wallace 2018-05-07 08:11:52 -05:00
parent c86163d79f
commit 19db39f402
No known key found for this signature in database
GPG key ID: 5FA5E5544F010D48

View file

@ -240,7 +240,7 @@ def _reverse_lookup(dictionary, value):
value_index = idx
break
return dictionary.keys()[value_index]
return list(dictionary)[value_index]
def _lookup_first(dictionary, key):