So as a workaround what I am doing is:
try:
create_missing_folders()
except AttributeError:
passIs 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 .
So as a workaround what I am doing is:
try:
create_missing_folders()
except AttributeError:
passIs 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 .