X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a93bd81d884b1dcadd46939a67328413e87e1ee1..836138032cb134139d9ab5247c6baee983b2c312:/tools/findbits.py?ds=inline diff --git a/tools/findbits.py b/tools/findbits.py index b753f8f4..f5d2dbd6 100755 --- a/tools/findbits.py +++ b/tools/findbits.py @@ -37,7 +37,7 @@ def invert(data): return out # do the actual search -def search(data,target): +def search(target,data): location= string.find(data,target) if location >= 0: print '*** Match at bit %d:' % location,