Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelduchesne committed Aug 24, 2019
1 parent dfdcc16 commit 3dfb356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions archetypal/idfclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@ def run_eplus(

save_dir = output_directory / hash_file(eplus_file, args)
if keep_data:
(save_dir).rmtree_p()
save_dir.rmtree_p()
tmp.copytree(save_dir)

log(
Expand All @@ -1247,7 +1247,7 @@ def run_eplus(
name=eplus_file.basename(),
)
if return_files:
results.extend((save_dir).files())
results.extend(save_dir.files())

# save runargs
cache_runargs(tmp_file, runargs.copy())
Expand Down

0 comments on commit 3dfb356

Please sign in to comment.