mirror of https://github.com/dirtbags/netarch.git
netarch.crypto.freqgraph should repr() before printing
This commit is contained in:
parent
e0e0ea7aa8
commit
104b85a736
|
@ -144,7 +144,7 @@ def freqgraph(f):
|
||||||
items.sort(cmp2)
|
items.sort(cmp2)
|
||||||
|
|
||||||
for c, n in items:
|
for c, n in items:
|
||||||
print '%s: %s' % (c, '#' * n)
|
print '%s: %s' % (repr(c), '#' * n)
|
||||||
|
|
||||||
|
|
||||||
def neighbors(txt):
|
def neighbors(txt):
|
||||||
|
|
Loading…
Reference in New Issue