Closed cmcknight closed 5 years ago
Okay. Thanks for the feedback. I'm actually going to change this example to use Python's with
statement because this is actually the old way of creating dialogs which I am trying not to do in this book. But it's hard to do that as I'm been doing it the old way for so long.
In the book, the on_create_archive method reads:
but the repo code reads:
In the book, the archive_filename is assigned after the dialog has its ShowModal() method invoked. In the repo, the archive_filename is assigned after the dialog is created.