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
@@ -88,7 +88,7 @@ def main(argv):
def display_caption(caption):
global dst
dst = np.zeros(src.shape, src.dtype)
rows, cols, ch = src.shape
rows, cols, _ch = src.shape
cv.putText(dst, caption,
(int(cols / 4), int(rows / 2)),
cv.FONT_HERSHEY_COMPLEX, 1, (255, 255, 255))