X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a93bd81d884b1dcadd46939a67328413e87e1ee1..6d7234cd43b2f40b3bce56055d9727f9cdbc29ee:/tools/findbits.py?ds=sidebyside 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,