Skip to content

Commit

Permalink
"Merge pull request #465 from avborhanian/patch-1\n\nMade sure to clo…
Browse files Browse the repository at this point in the history
…se out the sourcemap_file"
  • Loading branch information
miracle2k committed Aug 18, 2016
2 parents 7e76351 + e0df6fc commit 5a63fea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/webassets/filter/compass.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ def open(self, out, source_path, **kw):
os.mkdir(path.dirname(sourcemap_output_filepath))
sourcemap_output_file = open(sourcemap_output_filepath, 'w')
sourcemap_output_file.write(sourcemap_file.read())
sourcemap_file.close()
try:
contents = output_file.read()
out.write(contents)
Expand Down

0 comments on commit 5a63fea

Please sign in to comment.