block_size = new_block_size(before, after, dl_bytes)
 
        if video_len is not None and byte_counter != video_len:
-               error_advice_exit('server did not send the expected ammount of data')
+               error_advice_exit('server did not send the expected amount of data')
 
        video_file.close()
        cond_print('done.\n')