On Jun 9, 8:13 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> Kaushik wrote:
> > Hi,
> > i'm new to python , and i came across a code like
>
> > if ("on_%s" % handler ) in self._dir:
>
> > i tried use the a similar method in my class it errors out like
>
> > AttributeError: bot instance has no
Kaushik wrote:
> Hi,
> i'm new to python , and i came across a code like
>
> if ("on_%s" % handler ) in self._dir:
>
> i tried use the a similar method in my class it errors out like
>
> AttributeError: bot instance has no attribute '_dir'
>
> what am i doing wrong?
self._dir is just an attri
Hi,
i'm new to python , and i came across a code like
if ("on_%s" % handler ) in self._dir:
i tried use the a similar method in my class it errors out like
AttributeError: bot instance has no attribute '_dir'
what am i doing wrong?
Thanks,
Kaushik
--
http://mail.python.org/mailman/listinfo/pyt