Skip to content

Commit

Permalink
make attach destination path fixed with always `/attach/'
Browse files Browse the repository at this point in the history
attach source path can be configured with _config.yml
  • Loading branch information
tankywoo committed Dec 14, 2016
1 parent 6d18276 commit c3c9d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simiki/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def copy_attach(self):
"""Copy attach directory under root path to destination directory"""
src_p = os.path.join(self.target_path, self.config['attach'])
dest_p = os.path.join(self.target_path, self.config["destination"],
self.config['attach'])
'attach')
if os.path.exists(src_p):
copytree(src_p, dest_p)

Expand Down

0 comments on commit c3c9d9c

Please sign in to comment.