Those args in the docstring are not set in the *Slides* constructor: exception executing script TypeError: 'reset_zoom' is an unknown keyword argument -------------------- line 4: from leo.plugins.picture_viewer import Slides * line 5: Slides(reset_zoom = False, width = 900, sort_kind = None).run(c)
The constructor only initializes *scale*, *slide_number*, and *timer*. On Saturday, October 23, 2021 at 1:41:43 AM UTC-4 Edward K. Ream wrote: > On Fri, Oct 22, 2021 at 8:34 PM tbp1...@gmail.com <tbp1...@gmail.com> > wrote: > >> Here's my stab at it. Replace all the current text in the docstring >> ahead of the binding and API information with the following: > > > Done at rev 2f65d83 > <https://github.com/leo-editor/leo-editor/commit/2f65d83e35c7cd6ea3e8e902b8f4f7b848890833> > > in devel. The only change I made was to add the required 'c' arg to run. > > This rev also adds the 'reset_zoom' kwarg to the run method. The default > is True. > > Many thanks, Thomas, for your testing and comments. > > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/87eed432-d356-4d8b-923d-a300084ebc5cn%40googlegroups.com.