Removed teardown_appcontext not yet supported in the Raspbian python-flask
load os module