works! thanks

On Wednesday, April 17, 2013 12:16:36 AM UTC+3, Ralph Bean wrote:
>
>
> On Tue, Apr 16, 2013 at 01:43:15PM -0700, alonn wrote: 
> > Is there an elegant way to do this? I need an app to email me some error 
> > data, and one of the things I need to know is with what config.ini it 
> was 
> > run. 
> > I guess I could iterate through sys.argv and search for a string that 
> > contains *.ini but is there a more elegant way to do this? 
>
> I haven't tested this, but could you check the contents of: 
>
>     import tg 
>     tg.config['__file__'] 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to