From 1571c25ae927f035afc67f7fdb9fb10fd09e90b0 Mon Sep 17 00:00:00 2001 From: tangwei12 Date: Tue, 19 Jun 2018 14:26:59 +0800 Subject: [PATCH] code style fix --- python/paddle/fluid/trainer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle/fluid/trainer.py b/python/paddle/fluid/trainer.py index 6fc456f4755..b4cb019aea3 100644 --- a/python/paddle/fluid/trainer.py +++ b/python/paddle/fluid/trainer.py @@ -66,8 +66,8 @@ class CheckpointConfig(object): assert epoch_interval >= 1 assert step_interval >= 1 - self.checkpoint_dir = checkpoint_dir if checkpoint_dir is not None else os.getcwd( - ) + self.checkpoint_dir = checkpoint_dir \ + if checkpoint_dir is not None else os.getcwd() self.max_num_checkpoints = max_num_checkpoints self.epoch_interval = epoch_interval self.step_interval = step_interval -- GitLab