A woman returned to street drugs and crime after being told she could no longer be prescribed a heroin substitute because of a heart condition.
But Andrea Cotton was now no longer taking heroin or committing offences a court was told.
Cotton, 40, of Rosedale Avenue, Marton, pleaded guilty to two offences of theft.
She was sentenced to a 10 weeks’ curfew from 8pm to 6am and ordered to pay £45 costs plus £60 victims’ surcharge by Blackpool magistrates.
Adrian Hollamby, prosecuting, said Cotton took meat and chocolate worth £15 from Asda and on September 1 stole two pairs of school shoes and electrical items valued at £307 from Tesco on July 31.
She had 32 previous convictions for theft.
Stephen Duffy, defending, said from the age of 18 to 40 his client had been addicted to Class A drugs particularly heroin.
She had asked for help from a drugs agency and been prescribed the heroin substitute methadone.
She was then told she had a leaking heart valve and could no longer be prescribed methadone so she committed offences to buy street heroin.
She was now getting new medication and not committing offences.