What?
when the script gets executed the script tries to check all domains and before it writes them into the output.csv the script performs a check if the output file is open atm.
Solution:
The output file should be checked at the beginning if its opened atm and not at the end.
What?
when the script gets executed the script tries to check all domains and before it writes them into the output.csv the script performs a check if the output file is open atm.
Solution:
The output file should be checked at the beginning if its opened atm and not at the end.