config["app_conf"].get("cache_dir", None)

Alagu Madhu 写道:
> hi all,
>
>
> app_globals.py:
>
>
> from pylons import config
>
>
> def __init__(self):
>     cache_dir = config.get('cache_dir')
>     print cache_dir
>
>
> I get 'None' value...
>
>
>
> Thanks
>
> Madhu Alagu
>
>   


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

Reply via email to