Skip to content

Commit

Permalink
Minor fix for prepare paths (hitachienergy#550)
Browse files Browse the repository at this point in the history
- Minor fix for prepare when output dir is not supplied.
  • Loading branch information
seriva authored Oct 3, 2019
1 parent de1e836 commit 8c6f254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/epicli/cli/epicli.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def experimental_query():


def adjust_paths_from_output_dir():
if not os.path.exists(Config().output_dir):
if not Config().output_dir:
Config().output_dir = os.getcwd() # Default to working dir so we can at least write logs.
dump_config(Config())

Expand Down

0 comments on commit 8c6f254

Please sign in to comment.