diff options
author | Philipp Hagemeister <[email protected]> | 2014-11-26 12:26:21 +0100 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-11-26 12:26:21 +0100 |
commit | 0e44f90e18e01c7e64b7914cd0f5d64883a88264 (patch) | |
tree | b8749c5c0ba61c2f2a9b38bb49822a22bc6abd90 /youtube_dl | |
parent | 15938ab67a61ec7558311d964fb65ccd4e05a782 (diff) | |
download | youtube-dl-0e44f90e18e01c7e64b7914cd0f5d64883a88264.tar.gz youtube-dl-0e44f90e18e01c7e64b7914cd0f5d64883a88264.zip |
[hls] Remove useless u porefixes
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/downloader/hls.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/youtube_dl/downloader/hls.py b/youtube_dl/downloader/hls.py index 0c33d39ee..954beffd5 100644 --- a/youtube_dl/downloader/hls.py +++ b/youtube_dl/downloader/hls.py @@ -28,14 +28,14 @@ class HlsFD(FileDownloader): if check_executable(program, ['-version']): break else: - self.report_error(u'm3u8 download detected but ffmpeg or avconv could not be found. Please install one.') + self.report_error('m3u8 download detected but ffmpeg or avconv could not be found. Please install one.') return False cmd = [program] + args retval = subprocess.call(cmd) if retval == 0: fsize = os.path.getsize(encodeFilename(tmpfilename)) - self.to_screen(u'\r[%s] %s bytes' % (cmd[0], fsize)) + self.to_screen('\r[%s] %s bytes' % (cmd[0], fsize)) self.try_rename(tmpfilename, filename) self._hook_progress({ 'downloaded_bytes': fsize, @@ -45,8 +45,8 @@ class HlsFD(FileDownloader): }) return True else: - self.to_stderr(u"\n") - self.report_error(u'%s exited with code %d' % (program, retval)) + self.to_stderr('\n') + self.report_error('%s exited with code %d' % (program, retval)) return False |