Congress voted Thursday to fund the government through December 21, 2018, and in doing so extended the National Flood Insurance Program for two weeks.

This extension comes just one week after the House and Senate approved of a one-week extension of the program to prevent the program from lapsing.

Congress voted to fund the government for the next two weeks in order to avoid a government shutdown, which would have occurred on Dec. 7, 2018. Of course, this could just lead to a partial government shutdown later this month, just before Christmas.

The measure still needs to be signed by President Donald Trump.

This marks the 43rd extension of the NFIP since 1988 and the 41st short-term deal made to avoid a lapse in the program over the past 20 years.

While the housing industry was glad a lapse was avoided, it also called upon Congress to stop passing short-term deals and come up with a long-term solution for the program.

Read more in Housing Wire.