Skip to content

Commit

Permalink
small fix (PaddlePaddle#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
shippingwang authored Nov 17, 2020
1 parent 32c59d5 commit 9fcfc6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ppgan/utils/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from paddle.distributed import ParallelEnv

logger_initialized = {}
logger_initialized = []


def setup_logger(output=None, name="ppgan"):
Expand Down Expand Up @@ -67,7 +67,7 @@ def setup_logger(output=None, name="ppgan"):
fh.setLevel(logging.DEBUG)
fh.setFormatter(plain_formatter)
logger.addHandler(fh)

logger_initialized.append(name)
return logger


Expand Down

0 comments on commit 9fcfc6e

Please sign in to comment.