Skip to content

Commit c2c1871

Browse files
author
BoboTiG
committed
[test] Fix code with yapf
1 parent f79136c commit c2c1871

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

test/screenshot.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
3-
43
''' A simple screen shot script.
54
Use of python-mss: https://github.com/BoboTiG/python-mss/
65
pip install --upgrade mss
76
'''
87

9-
108
from platform import system
119
import mss
1210

1311
systems = {
1412
'Darwin': mss.MSSMac,
1513
'Linux': mss.MSSLinux,
1614
'Windows': mss.MSSWindows
17-
}
15+
}
1816
mss_class = systems[system()]
1917

20-
2118
if __name__ == '__main__':
2219
mss = mss_class()
2320
for filename in mss.save(output='monitor-%d.png', screen=1):

0 commit comments

Comments
 (0)