- '[download] Got server HTTP error. Retrying fragment %s (attempt %d of %.0f)...'
- % (fragment_name, count, retries))
+ '[download] Got server HTTP error. Retrying fragment %s (attempt %d of %s)...'
+ % (fragment_name, count, self.format_retries(retries)))