|
8 | 8 | from .docusign.views import ds |
9 | 9 | from .ds_config import EXAMPLES_API_TYPE |
10 | 10 | from .rooms import examples as rooms_examples |
11 | | -from .click import examples as click_examples |
| 11 | +# from .click import examples as click_examples |
12 | 12 | from .views import core |
13 | 13 |
|
14 | 14 | session_path = "/tmp/python_recipe_sessions" |
15 | 15 |
|
16 | 16 | if EXAMPLES_API_TYPE["Rooms"]: |
17 | 17 | app = Flask(__name__, template_folder='rooms/templates') |
18 | | -elif EXAMPLES_API_TYPE["Click"]: |
19 | | - app = Flask(__name__, template_folder='click/templates') |
| 18 | +# elif EXAMPLES_API_TYPE["Click"]: |
| 19 | +# app = Flask(__name__, template_folder='click/templates') |
20 | 20 | else: |
21 | 21 | app = Flask(__name__) |
22 | 22 | app.config.from_pyfile("config.py") |
|
43 | 43 | app.register_blueprint(rooms_examples.eg004) |
44 | 44 | app.register_blueprint(rooms_examples.eg005) |
45 | 45 | app.register_blueprint(rooms_examples.eg006) |
46 | | -elif EXAMPLES_API_TYPE["Click"]: |
47 | | - app.register_blueprint(click_examples.eg001) |
48 | | - app.register_blueprint(click_examples.eg002) |
49 | | - app.register_blueprint(click_examples.eg003) |
50 | | - app.register_blueprint(click_examples.eg004) |
51 | | - app.register_blueprint(click_examples.eg005) |
| 46 | +# elif EXAMPLES_API_TYPE["Click"]: |
| 47 | +# app.register_blueprint(click_examples.eg001) |
| 48 | +# app.register_blueprint(click_examples.eg002) |
| 49 | +# app.register_blueprint(click_examples.eg003) |
| 50 | +# app.register_blueprint(click_examples.eg004) |
| 51 | +# app.register_blueprint(click_examples.eg005) |
52 | 52 | else: |
53 | 53 | app.register_blueprint(examples.eg001) |
54 | 54 | app.register_blueprint(examples.eg002) |
|
0 commit comments