MCPcopy Create free account
hub / github.com/adobe/Marinus / check_save_location

Function check_save_location

python3_cron_scripts/zgrab_http_domain.py:298–304  ·  view source on GitHub ↗

Check to see if the directory exists. If the directory does not exist, it will automatically create it.

(save_location)

Source from the content-addressed store, hash-verified

296
297
298def check_save_location(save_location):
299 """
300 Check to see if the directory exists.
301 If the directory does not exist, it will automatically create it.
302 """
303 if not os.path.exists(save_location):
304 os.makedirs(save_location)
305
306
307def main(logger=None):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected