File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ MSS is for *Multi-Screen Shot*.
1212Dependancies & requirements
1313---
1414
15- Python. And that is all :)
16- MSS is writen in pure python, it uses ctypes.
15+ Python. And that is all :)
16+ MSS is writen in pure python, it uses ctypes.
1717ctypes has been introduced in Python 2.5, before it will need ctypes modules to be installed separately.
1818
1919Support
@@ -47,9 +47,9 @@ You can determine automatically which class to use:
4747 from mss import *
4848
4949 systems = {
50+ 'Darwin' : MSSMac,
5051 'Linux' : MSSLinux,
51- 'Windows': MSSWindows,
52- 'Darwin' : MSSMac
52+ 'Windows': MSSWindows
5353 }
5454 try:
5555 MSS = systems[system()]
@@ -59,7 +59,7 @@ You can determine automatically which class to use:
5959
6060Or simply import the good class:
6161
62- # from mss import MSSLinux as MSS
62+ from mss import MSSLinux as MSS
6363
6464Then, it is quite simple:
6565
Original file line number Diff line number Diff line change @@ -901,9 +901,9 @@ def paeth():
901901if __name__ == '__main__' :
902902
903903 systems = {
904+ 'Darwin' : MSSMac ,
904905 'Linux' : MSSLinux ,
905- 'Windows' : MSSWindows ,
906- 'Darwin' : MSSMac
906+ 'Windows' : MSSWindows
907907 }
908908 try :
909909 MSS = systems [system ()]
You can’t perform that action at this time.
0 commit comments