1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[neteasemusic] PEP8

This commit is contained in:
Yen Chi Hsuan 2015-07-10 18:30:23 +08:00
parent b29280285e
commit 15830339ef

View file

@ -52,7 +52,7 @@ class NetEaseMusicBaseIE(InfoExtractor):
@classmethod
def convert_milliseconds(cls, ms):
return int(round(ms/1000.0))
return int(round(ms / 1000.0))
def query_api(self, endpoint, video_id, note):
req = compat_urllib_request.Request('%s%s' % (self._API_BASE, endpoint))