On Dec 22, 2010, at 8:59 AM, dcrodjer wrote: > So as a workaround what I am doing is: > > try: > create_missing_folders() > except AttributeError: > pass > > > Is this safe? Is there some other way that I can check if the environment is > gae as it seems the request variable is not available in main.py .
Try checking global_settings.web2py_runtime_gae instead.

