sniffer.py: Removed redundant find_dev function

This commit is contained in:
Christina Quast
2015-05-14 17:21:34 +02:00
parent 425717d08b
commit 5cf676df61
2 changed files with 2 additions and 3 deletions

View File

@@ -49,8 +49,7 @@ def find_eps(dev):
return (ep_in, ep_out)
# main code
def sniff():
dev = find_dev()
def sniff(dev):
ans = array.array('B', [])
apdus = []