def report_skip_fragment(self, frag_index, err=None):
    err = (f' {err};' if err else '')
    self.to_screen(f'[download]{err} Skipping fragment {frag_index:d} ...')
def report_skip_fragment(self, frag_index, err=None):
    err = (f' {err};' if err else )
    self.to_screen(f'[download]{err} Skipping fragment {frag_index:d} ...')