Skip to content

Commit

Permalink
Merge pull request #2 from ufologist/patch-1
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
zswang committed Oct 23, 2015
2 parents 949e4eb + 9fc8f1c commit ae86a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/h5psd.js
Expand Up @@ -112,7 +112,7 @@ function build(filename, argv) {
var md5 = crypto.createHash('md5');
md5.update(buffer);
var flag = md5.digest('hex');
image = path.join(images, flag.slice(1, 7) + '.png');
image = images + '/' + flag.slice(1, 7) + '.png';
if (!md5dict[flag]) { // 内容没有出现过
md5dict[flag] = true;
if (!nodeInfo.text) { // 非文本节点
Expand Down

0 comments on commit ae86a14

Please sign in to comment.