Skip to content

Commit

Permalink
Merge 64ea458 into 8f1e2cc
Browse files Browse the repository at this point in the history
  • Loading branch information
suvayu committed May 12, 2020
2 parents 8f1e2cc + 64ea458 commit 58f8221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datapackage/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def save(self, target=None, storage=None, merge_groups=False, to_base_path=False
path_inside_dp = os.path.join('data', basename)
z.write(path, path_inside_dp)
descriptor['resources'][index]['path'] = path_inside_dp
z.writestr('datapackage.json', json.dumps(descriptor))
z.writestr('datapackage.json', json.dumps(descriptor, indent=4))
except (IOError, zipfile.BadZipfile, zipfile.LargeZipFile) as exception:
six.raise_from(exceptions.DataPackageException(exception), exception)

Expand Down

0 comments on commit 58f8221

Please sign in to comment.