Skip to content

Commit

Permalink
Release 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Sep 4, 2018
1 parent 0f3195e commit d42d68f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ History:

<see Git checking messages for history>

3.3.0 2018/08/xx
3.3.0 2018/09/04
- Linux: add an error handler for the XServer to prevent interpreter crash (fix #61)
- MSS: fix a ResourceWarning: unclosed file in setup.py
- tests: fix a ResourceWarning: unclosed file
- doc: fix a typo in Screenshot.pixel() method (thanks to @mchlnix)
- big code clean-up using black

3.2.1 2018/05/21
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ Installation

You can install it with pip::

pip install --upgrade mss
python -m pip install --upgrade mss
2 changes: 1 addition & 1 deletion mss/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def to_png(data, size, level=6, output=None):
line = width * 3
png_filter = struct.pack(">B", 0)
scanlines = b"".join(
[png_filter + data[y * line : y * line + line] for y in range(height)]
[png_filter + data[y * line:y * line + line] for y in range(height)]
)

magic = struct.pack(">8B", 137, 80, 78, 71, 13, 10, 26, 10)
Expand Down

0 comments on commit d42d68f

Please sign in to comment.