File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 59
59
# built documents.
60
60
#
61
61
# The short X.Y version.
62
- version = '2.0.19 '
62
+ version = '2.0.20 '
63
63
# The full version, including alpha/beta/rc tags.
64
64
release = 'latest'
65
65
Original file line number Diff line number Diff line change 13
13
from .exception import ScreenshotError
14
14
from .factory import mss
15
15
16
- __version__ = '2.0.19 '
16
+ __version__ = '2.0.20 '
17
17
__author__ = "Mickaël 'Tiger-222' Schoentgen"
18
18
__copyright__ = '''
19
19
Copyright (c) 2013-2016, Mickaël 'Tiger-222' Schoentgen
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ class MSS(MSSBase):
85
85
def __del__ (self ):
86
86
''' Disconnect from X server. '''
87
87
88
- if self . display :
88
+ if hasattr ( self , ' display' ) :
89
89
self .xlib .XCloseDisplay (self .display )
90
90
self .display = None
91
91
You can’t perform that action at this time.
0 commit comments