]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - tools/findbits.py
fix command-line issue generating core dump on OSX
[proxmark3-svn] / tools / findbits.py
index b753f8f4d0e58969c046a58f87eee9564482de29..f5d2dbd6b465c8afb859dac876ed23614525c421 100755 (executable)
@@ -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,
Impressum, Datenschutz