Jaros?aw Kulesza wrote:
> Huy Do wrote:
>
>   
>> Hi,
>> I'm getting this error when trying to access the session in pylons 0.92.
>>
>> Any ideas ?
>>
>> Thanks
>>
>>
>>  File "/home/huy/apps/ktrack/ktrack/menu.py", line 32, in menu_client
>>    if session.has_key['client_id']:
>> TypeError: unsubscriptable object
>>  
>>
>>     
>
> if session.has_key('client_id'):
>
> Climbus
>   
Damn.....sorry about that. And here I thought I was making some head way 
with python after 3 years. :-P

Thanks for that Climbus.

Regards,

Huy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to