The master is the "high point" in the brake lines
So "in theory" when you unhook a brake line from the master no fluid should come out of that line and so no air can get in.
If you bleed the master then it should be plug and play
Should be, is the key word, you are there I am not so you will need to determine if air did or didn't get into the brake lines
One thing you can do to make sure brake line is air free before reassembly is to use a long clear plastic tube and a container of brake fluid
Tube needs to fit snugly over caliper or rear slave bleeder valve, just the nipple not the nut part, you will need to open it and close it.
Place container of brake fluid higher than Master Brake line ends
Place tube in container then siphon fluid into the tube so no air is present(use clear tube so you can see any air), and place tube over bleeder.
Now before reconnecting front brake line to Master, open bleeder, just a little is fine, and fluid should run from container, thru caliper, up brake line and start slowly flowing out of that open end.
Attach brake line to the pre-bled Master while fluid is flowing.
Air free connection
Repeat for rear brakes IF there are 2 brake lines attached to the Master
The above setup can also be used to bleed brakes when new calipers or slave are installed
Same method, brake fluid filled, air free, clear plastic tube on caliper or slave bleeder
Open bleeder
Press brake pedal to the floor and hold it down, for at least 10-20 second
Any air will be pushed out into the clear tube and rise up the tube, slowly but it will rise

When you release brake pedal brake fluid will be pulled back in
Repeat until you see no air in the tube near the bleeder.
Then repeat for other calipers/slaves as needed