never never never never run a chdir in web2py environment ........... ^_^

Il giorno mercoledì 8 maggio 2013 10:26:49 UTC+2, Simon Ashley ha scritto:
>
>
> Thanks Simone,
>
> Turned out to be the following:
>
>   path = os.path.join(request.folder, 'data\\')
> - os.chdir(path)
> - for files in os.listdir('*.*'):
> + for files in os.listdir(path):
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to