fix pylint error
Merge pull request #1702 from pitr-ch/quick-fix/pylint

fix pylint error