Does anybody know how one can check in Pyramid if a mako template exists
without rendering it, assuming that the mako.directiories is correctly set
up?
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To unsubscribe from this group and stop
Le 17/10/13 09:34, cropr a écrit :
Does anybody know how one can check in Pyramid if a mako template
exists without rendering it, assuming that the mako.directiories is
correctly set up?
I think you need this:
if os.path.exists():
Oops, I meant:
if os.path.exists(path):
Laurent.
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To unsubscribe from this group and stop receiving emails from it, send an email
to