Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Commit

Permalink
Merge 4214be6 into e7aacb4
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWhited committed Aug 16, 2015
2 parents e7aacb4 + 4214be6 commit b22fedf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rawkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
raw.save(filename='some/destination/image.ppm')
"""

VERSION = '0.4.1'
VERSION = '0.4.2'
"""
The current version of the `rawkit` package.
"""
4 changes: 3 additions & 1 deletion rawkit/raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ def save(self, filename=None, filetype=output_file_types.ppm):
if filetype not in output_file_types:
raise InvalidFileType(
"Output filetype must be in raw.output_file_types")
self.data.contents.params.output_tiff = filetype
self.data.contents.params.output_tiff = (
filetype == output_file_types.tiff
)

self.unpack()
self.process()
Expand Down

0 comments on commit b22fedf

Please sign in to comment.