[hptools] On améliore la fonction walk
This commit is contained in:
parent
e2b39511a5
commit
5f98e6d528
2 changed files with 24 additions and 24 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue