Skip to content

Commit

Permalink
Fix TensorBoard logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjulian committed Mar 31, 2018
1 parent f006419 commit 1f18b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rllab/misc/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def remove_tabular_output(file_name):

def set_tensorboard_dir(dir_name):
global _tensorboard_writer
if dir_name:
if not dir_name:
if _tensorboard_writer:
_tensorboard_writer.close()
_tensorboard_writer = None
Expand Down

0 comments on commit 1f18b74

Please sign in to comment.