Why not remove good_num_days and just put this in the except block?