python: eliminate pylint warnings

Tested with:
- pylint 1.9.1
This commit is contained in:
Alexander Alekhin
2018-06-04 17:58:06 +03:00
parent fc35c77f00
commit dcb9bc2544
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ if __name__ == '__main__':
if debug_dir:
vis = cv.cvtColor(img, cv.COLOR_GRAY2BGR)
cv.drawChessboardCorners(vis, pattern_size, corners, found)
path, name, ext = splitfn(fn)
_path, name, _ext = splitfn(fn)
outfile = os.path.join(debug_dir, name + '_chess.png')
cv.imwrite(outfile, vis)