Check to see if the directory exists. If the directory does not exist, it will automatically create it.
(save_location)
| 50 | |
| 51 | |
| 52 | def check_save_location(save_location): |
| 53 | """ |
| 54 | Check to see if the directory exists. |
| 55 | If the directory does not exist, it will automatically create it. |
| 56 | """ |
| 57 | if not os.path.exists(save_location): |
| 58 | os.makedirs(save_location) |
| 59 | |
| 60 | |
| 61 | def main(logger=None): |