diff options
Diffstat (limited to 'youtube_dl/downloader/common.py')
| -rw-r--r-- | youtube_dl/downloader/common.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/youtube_dl/downloader/common.py b/youtube_dl/downloader/common.py index 29a4500d3..beae8c4d0 100644 --- a/youtube_dl/downloader/common.py +++ b/youtube_dl/downloader/common.py @@ -5,9 +5,9 @@ import re  import sys  import time -from ..compat import compat_str  from ..utils import (      encodeFilename, +    error_to_compat_str,      decodeArgument,      format_bytes,      timeconvert, @@ -42,7 +42,7 @@ class FileDownloader(object):      min_filesize:       Skip files smaller than this size      max_filesize:       Skip files larger than this size      xattr_set_filesize: Set ytdl.filesize user xattribute with expected size. -                        (experimenatal) +                        (experimental)      external_downloader_args:  A list of additional command-line arguments for the                          external downloader. @@ -186,7 +186,7 @@ class FileDownloader(object):                  return              os.rename(encodeFilename(old_filename), encodeFilename(new_filename))          except (IOError, OSError) as err: -            self.report_error('unable to rename file: %s' % compat_str(err)) +            self.report_error('unable to rename file: %s' % error_to_compat_str(err))      def try_utime(self, filename, last_modified_hdr):          """Try to set the last-modified time of the given file.""" | 
