Skip to content

Commit

Permalink
Add possibility of logging in tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
herilalaina committed Oct 24, 2019
1 parent f0f131f commit 2614d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mosaic/mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self,
self.logger = logging.getLogger('mcts')

# execution directory
if exec_dir:
if exec_dir is not None:
os.makedirs(exec_dir)
else:
exec_dir = tempfile.mkdtemp()
Expand Down

0 comments on commit 2614d49

Please sign in to comment.