Commit a0fc5770 authored by DurgeshSamant's avatar DurgeshSamant

fixed a bug in statusToString while porting to python3

parent 79e6dee1
...@@ -148,7 +148,7 @@ class HFOEnvironment(object): ...@@ -148,7 +148,7 @@ class HFOEnvironment(object):
def statusToString(self, status): def statusToString(self, status):
""" Returns a string representation of a game status """ """ Returns a string representation of a game status """
return hfo_lib.statusToString(status.decode('utf-8')) return hfo_lib.statusToString(status)
def getUnum(self): def getUnum(self):
""" Return the uniform number of the agent """ """ Return the uniform number of the agent """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment