Check to see if the directory exists. If the directory does not exist, it will automatically create it.
(save_location)
| 419 | |
| 420 | |
| 421 | def 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 | |
| 430 | def main(logger=None): |