Updated

The Los Angeles City Council has voted to ease restrictions on medical marijuana dispensaries, allowing dozens more to possibly remain open.

The council on Wednesday approved an amendment allowing up to 140 pot dispensaries to stay open and gave dispensary operators a six-month extension to comply with city regulations.

An ordinance passed earlier this year would have shut down roughly 400 dispensaries. About 180 of the dispensaries applied in June to remain open, but only about 40 met all the criteria.

Approved dispensaries were supposed to comply with the provisions by Dec. 4, including a rule that says they must be more than 1,000 feet from schools, parks and other sensitive sites.