Skip to content
Permalink
Browse files
Fix links to atlas
The shortened fingerprint broke the links to atlas.
The truncation is down in the jinja2 template and
not in app.py
  • Loading branch information
gsathya committed Aug 19, 2012
1 parent 49f70ba commit 9596c8211868cdb6aea9b884a4c18ed1c76c276d
Showing with 2 additions and 2 deletions.
  1. +1 −1 app.py
  2. +1 −1 templates/result.html
2 app.py
@@ -69,7 +69,7 @@ def parse(output_string, grouping=False, sort_key=None):
result.p_middle = values[3]
result.p_exit = values[4]
result.nick = values[5]
result.fp = values[6][:8]
result.fp = values[6]
result.exit = values[7]
result.guard = values[8]
result.cc = values[9]
@@ -83,7 +83,7 @@
<td>{{ result.fp }}</td>
{% else %}
<td><a href="https://atlas.torproject.org/#details/{{
result.fp }}">{{ result.fp }}</a></td>
result.fp }}">{{ result.fp[:8] }}</a></td>
{% endif %}
<td>{{ result.exit }}</td>
<td>{{ result.guard }}</td>

0 comments on commit 9596c82

Please sign in to comment.