Hi,

On Thu, Nov 14, 2013 at 11:03 AM, Kevin Walzer <k...@codebykevin.com> wrote:
>
> I can actually get the correct value if I change one call as follows:
>
> self.defaults['copytext'] = self.copytext.get()
>
> But then, trying to pickle this value, I get this error:
>
> 'str' object has no attribute 'get'
>

It looks like at some other place in your code you do something like

    self.copytext = 'foo'

Instead of

    self.copytext.set('foo')


Try checking for that.

-- 
Carlos
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
https://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to