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

Skip to content

Commit e8917f7

Browse files
committed
Linux: fix pylint warning: unused argument 'func'
1 parent 25c3902 commit e8917f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mss/linux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def _set_argtypes(self):
151151
def _set_restypes(self):
152152
''' Functions return type. '''
153153

154-
def validate(value, func, args):
154+
def validate(value, _, args):
155155
''' Validate the returned value of xrandr.XRRGetScreenResources().
156156
We can end on a segfault if not:
157157
Xlib: extension "RANDR" missing on display "...".

0 commit comments

Comments
 (0)