Some pep8 style fixes
This commit is contained in:
parent
944d65c762
commit
f89197d73e
5 changed files with 9 additions and 10 deletions
|
@ -18,10 +18,10 @@ class MplayerFD(FileDownloader):
|
|||
try:
|
||||
subprocess.call(['mplayer', '-h'], stdout=(open(os.path.devnull, 'w')), stderr=subprocess.STDOUT)
|
||||
except (OSError, IOError):
|
||||
self.report_error(u'MMS or RTSP download detected but "%s" could not be run' % args[0] )
|
||||
self.report_error(u'MMS or RTSP download detected but "%s" could not be run' % args[0])
|
||||
return False
|
||||
|
||||
# Download using mplayer.
|
||||
# Download using mplayer.
|
||||
retval = subprocess.call(args)
|
||||
if retval == 0:
|
||||
fsize = os.path.getsize(encodeFilename(tmpfilename))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue