Skip to content

Commit 2691129

Browse files
committed
Fix /term
1 parent 164ac7d commit 2691129

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: app/blueprints/catalog/helper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def get_term(inbound):
104104
else:
105105
hold = [
106106
inbound["quarter"].lower(),
107-
quarters[inbound["quarter"].lower()][1],
107+
quarters[inbound["quarter"].lower()],
108108
]
109109
if inbound.get("year") and (
110110
int(inbound["year"]) - 1 <= year

Diff for: app/templates/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h4>
2222
{% if "<" in j %}
2323
<a onclick="promtpGo('{{ map[i]["routes"][j]["default"] }}', '{{ j.split('<')[1][:-1] }}', '{{ i }}{{ j.split('<')[0] }}')" style="color: #0000EE; cursor: pointer">{{ j.split()[0] }}</a>
2424
{% else %}
25-
<a href={{ i + j }} style="color: #0000EE; text-decoration:none;">{{ j.split()[0] }}</a>
25+
<a href={{ i + j }} style="color: #0000EE; text-decoration: none;">{{ j.split()[0] }}</a>
2626
{% endif %}
2727
{{ map[i]["routes"][j]["methods"]|safe }}
2828
</h4>

0 commit comments

Comments
 (0)