(context: Context)
| 110 | |
| 111 | @when("I save the presentation") |
| 112 | def when_save_presentation(context: Context): |
| 113 | if os.path.isfile(saved_pptx_path): |
| 114 | os.remove(saved_pptx_path) |
| 115 | context.prs.save(saved_pptx_path) |
| 116 | |
| 117 | |
| 118 | @when("I save the presentation to a stream") |