Sorry Im late to the party @captainsnowball Its been a very busy week . Check the fluid level. Did you bleed the system after you replaced what Im assuming is the front flex hose . Have you just pumped the brake pedal a few times to get fluid pressure up . That will also often cause the light to go out . If the brake fluid is burnt and really dark looking it can also trip the sensor on the master cylinder . If this is the case then flushing the system is required . Just some ideas to kick around Hope this helps