]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
made clients/pm3_*.py importable as Python modules
authordn337t@gmail.com <dn337t@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 22 Jun 2012 11:09:36 +0000 (11:09 +0000)
committerdn337t@gmail.com <dn337t@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Fri, 22 Jun 2012 11:09:36 +0000 (11:09 +0000)
client/pm3_eml2mfd.py
client/pm3_mfd2eml.py

index be29715c5ac6bbf6e982714e8a53265e9ed111e5..c583d26788115fbb72444ca7b70874e232d4f386 100644 (file)
@@ -31,4 +31,5 @@ def main(argv):
         file_inp.close()
         file_out.close()
 
-main(sys.argv)
+if __name__ == '__main__':
+    main(sys.argv)
index 8e624269445e1939903851cd29f5217af6fe1222..5c5dc4dd215f2fa2c75a4ec85d6a9cd7484225f6 100644 (file)
@@ -32,4 +32,5 @@ def main(argv):
         file_inp.close()
         file_out.close()
 
-main(sys.argv)
+if __name__ == '__main__':
+    main(sys.argv)
Impressum, Datenschutz