Skip to content

Commit

Permalink
Fix pylint issue with python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Toilal committed Jul 27, 2016
1 parent 11658fa commit 66fe4ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion guessit/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
import six


if six.PY2: #pylint:disable=redefined-variable-type
if six.PY2:
# pylint:disable=redefined-variable-type,invalid-name
encoding = sys.stdin.encoding
if not encoding:
# This can occur when running guessit in non-interactive shell
Expand Down

0 comments on commit 66fe4ce

Please sign in to comment.