Skip to content

Commit 0c84256

Browse files
committed
fixing quick acg template name
1 parent a739226 commit 0c84256

3 files changed

Lines changed: 1 addition & 10 deletions

File tree

app/config.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
# http://stackoverflow.com/a/13946679/64904
44
DEBUG = True
55

6-
# Indicates which app is running
7-
# False - launcher; True - quick_acg
8-
QUICK_ACG = False
9-
106
# Secret for encrypting session cookie content
117
# Use any random string of characters
128
SECRET_KEY = "{SESSION_SECRET}"

app/eg001_embedded_signing.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,9 @@ def embedded_signing():
3939
@authenticate(eg=eg)
4040
def get_view():
4141
"""responds with the form for the example"""
42-
if app.config['QUICK_ACG']:
43-
template_name = "quick_embedded_signing.html",
44-
45-
else:
46-
template_name = "eg001_embedded_signing.html",
4742

4843
return render_template(
49-
template_name,
44+
"eg001_embedded_signing.html",
5045
title="Use embedded signing",
5146
source_file="eg001_embedded_signing.py",
5247
source_url=DS_CONFIG["github_example_url"] + "eg001_embedded_signing.py",

app/quick_acg/quick_acg_app/templates/quick_embedded_signing.html renamed to app/quick_acg/quick_acg_app/templates/eg001_embedded_signing.html

File renamed without changes.

0 commit comments

Comments
 (0)