[hptools] On améliore la fonction walk

This commit is contained in:
Pierre-Elliott Bécue 2013-05-19 17:52:18 +02:00
parent e2b39511a5
commit 5f98e6d528
2 changed files with 24 additions and 24 deletions

View file

@ -82,4 +82,4 @@ def trace_machine(mac, affiche_uplinks=False):
if __name__ == '__main__':
mac = format_mac(sys.argv[1])
affiche_uplinks = len(sys.argv) > 2 and bool(sys.argv[2])
print trace_machine(mac, affiche_uplinks)
print trace_machine(mac, affiche_uplinks).encode('utf-8')