Commit 4054ab84 authored by lintangsutawika's avatar lintangsutawika
Browse files

typo

parent fc5a114f
...@@ -317,7 +317,7 @@ class Task(abc.ABC): ...@@ -317,7 +317,7 @@ class Task(abc.ABC):
def doc_to_choice(self, doc): def doc_to_choice(self, doc):
if self._config.doc_to_choice is None: if self._config.doc_to_choice is None:
eval_logger.error("doc_to_choice was callsed but not set in config") eval_logger.error("doc_to_choice was called but not set in config")
elif type(self._config.doc_to_choice) == list: elif type(self._config.doc_to_choice) == list:
return self._config.doc_to_choice return self._config.doc_to_choice
elif type(self._config.doc_to_choice) == dict: elif type(self._config.doc_to_choice) == dict:
......
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