Skip to content

Commit 4d018a8

Browse files
committed
Don't show bytes b prefix
1 parent 327cfce commit 4d018a8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

utils/source.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
Example usage:
66
utils/source.py tweets.jsonl > sources.html
77
"""
8-
from __future__ import print_function
98
import json
109
import fileinput
1110
from collections import defaultdict
@@ -55,14 +54,14 @@
5554
5655
<header>
5756
<h1>Twitter client sources</h1>
58-
<em>created on the command line with <a href="http://github.com/edsu/twarc">twarc</a></em>
57+
<em>created on the command line with <a href="https://github.com/DocNow/twarc">twarc</a></em>
5958
</header>
6059
6160
<table>
6261
""")
6362

6463
for source in sumsort:
65-
print('<tr><td>{}</td><td>{}</td></tr>'.format(source.encode('utf-8'), summary[source]))
64+
print('<tr><td>{}</td><td>{}</td></tr>'.format(source, summary[source]))
6665
print("""
6766
6867
@@ -71,7 +70,7 @@
7170
<footer id="page">
7271
<hr>
7372
<br>
74-
created on the command line with <a href="http://github.com/edsu/twarc">twarc</a>.
73+
created on the command line with <a href="https://github.com/DocNow/twarc">twarc</a>.
7574
<br>
7675
<br>
7776
</footer>

0 commit comments

Comments
 (0)