Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d42d68f

Browse files
committed
Release 3.3.0
1 parent 0f3195e commit d42d68f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ History:
22

33
<see Git checking messages for history>
44

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

1112
3.2.1 2018/05/21

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ Installation
3737

3838
You can install it with pip::
3939

40-
pip install --upgrade mss
40+
python -m pip install --upgrade mss

mss/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def to_png(data, size, level=6, output=None):
2424
line = width * 3
2525
png_filter = struct.pack(">B", 0)
2626
scanlines = b"".join(
27-
[png_filter + data[y * line : y * line + line] for y in range(height)]
27+
[png_filter + data[y * line:y * line + line] for y in range(height)]
2828
)
2929

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

0 commit comments

Comments
 (0)