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