[puhutv] checked with flake8 and fixed

This commit is contained in:
Enes 2018-05-01 15:33:54 +03:00
parent 3f82c47394
commit 21c1f8d049

View File

@ -5,7 +5,6 @@ from .common import InfoExtractor
from ..compat import compat_str
from ..utils import (
int_or_none,
ExtractorError,
float_or_none,
determine_ext
)
@ -136,7 +135,7 @@ class PuhuTVIE(InfoExtractor):
media_url = format.get('url')
ext = format.get('video_format')
quality = format.get('quality')
if ext == 'mp4' and format.get('is_playlist') == False:
if ext == 'mp4' and format.get('is_playlist') is False:
formats.append({
'url': media_url,
'format_id': 'http-%s' % quality,
@ -198,7 +197,7 @@ class PuhuTVSerieIE(InfoExtractor):
season_number = season.get('position')
pagenum = 1
has_more = True
while has_more == True:
while has_more is True:
query = {
'page': pagenum,
'per': 40,