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

Function check_save_location

python3_cron_scripts/zgrab_http_ip.py:421–427  ·  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

419
420
421def check_save_location(save_location):
422 """
423 Check to see if the directory exists.
424 If the directory does not exist, it will automatically create it.
425 """
426 if not os.path.exists(save_location):
427 os.makedirs(save_location)
428
429
430def main(logger=None):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected