mirror of
https://github.com/vale981/ray
synced 2025-03-07 02:51:39 -05:00
Fix Python linting error. (#3113)
This commit is contained in:
parent
22dd7e0428
commit
9d2e864caf
1 changed files with 2 additions and 2 deletions
|
@ -213,8 +213,8 @@ class Agent(Trainable):
|
|||
# Create a default logger creator if no logger_creator is specified
|
||||
if logger_creator is None:
|
||||
timestr = datetime.today().strftime("%Y-%m-%d_%H-%M-%S")
|
||||
logdir_prefix = "{}_{}_{}".format(
|
||||
self._agent_name, self._env_id, timestr)
|
||||
logdir_prefix = "{}_{}_{}".format(self._agent_name, self._env_id,
|
||||
timestr)
|
||||
|
||||
def default_logger_creator(config):
|
||||
"""Creates a Unified logger with a default logdir prefix
|
||||
|
|
Loading…
Add table
Reference in a new issue