GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — WebPutty/bootstrap.py at master · glitchdotcom/WebPutty Expand file tree/ Copy pathbootstrap.pyMore file actions 32 lines (26 loc) · 972 Bytes / Copy pathbootstrap.pyFile metadata and controls32 lines (26 loc) · 972 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 #!/usr/bin/env python """Google App Engine uses this file to run your Flask application.""" import os import settings from utils import adjust_sys_path adjust_sys_path() if settings.debug: adjust_sys_path('ziplibs') # Enable ctypes for Jinja debugging from google.appengine.tools.dev_appserver import HardenedModulesHook HardenedModulesHook._WHITE_LIST_C_MODULES += ['_ctypes', 'gestalt'] else: adjust_sys_path(os.path.join('ziplibs.zip', 'ziplibs')) from app import create_app from werkzeug_debugger_appengine import get_debugged_app from flaskext.csrf import csrf from gae_mini_profiler import profiler, config as profiler_config profiler_config.enabled_profiler_emails = settings.admin_emails app = create_app() csrf(app) # If we're on the local server, let's enable Flask debugging. # For more information: http://goo.gl/RNofH if settings.debug: app.debug = True app = get_debugged_app(app) app = profiler.ProfilerWSGIMiddleware(app) |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |