Reorg to put web app in its own directory

This commit is contained in:
Aldo Cortesi 2014-09-10 11:34:58 +12:00
parent e5412e9dd9
commit 76982937a6
20 changed files with 4 additions and 3 deletions

View File

@ -9,7 +9,8 @@ import flask
import requests import requests
from netlib import odict, wsgi from netlib import odict, wsgi
import netlib.http import netlib.http
from . import controller, protocol, tnetstring, filt, script, version, app from . import controller, protocol, tnetstring, filt, script, version
from .web import app
from .protocol import http, handle from .protocol import http, handle
from .proxy.config import parse_host_pattern from .proxy.config import parse_host_pattern

View File

View File

@ -1,7 +1,7 @@
from __future__ import absolute_import from __future__ import absolute_import
import flask import flask
import os import os
from .proxy import config from ..proxy import config
mapp = flask.Flask(__name__) mapp = flask.Flask(__name__)
mapp.debug = True mapp.debug = True

View File

Before

Width:  |  Height:  |  Size: 197 KiB

After

Width:  |  Height:  |  Size: 197 KiB