From: dn337t@gmail.com Date: Fri, 22 Jun 2012 11:09:36 +0000 (+0000) Subject: made clients/pm3_*.py importable as Python modules X-Git-Tag: v1.0.0~192 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/11d23264254d318ffa0d91ced29f633ed1dc5091?ds=sidebyside made clients/pm3_*.py importable as Python modules --- diff --git a/client/pm3_eml2mfd.py b/client/pm3_eml2mfd.py index be29715c..c583d267 100644 --- a/client/pm3_eml2mfd.py +++ b/client/pm3_eml2mfd.py @@ -31,4 +31,5 @@ def main(argv): file_inp.close() file_out.close() -main(sys.argv) +if __name__ == '__main__': + main(sys.argv) diff --git a/client/pm3_mfd2eml.py b/client/pm3_mfd2eml.py index 8e624269..5c5dc4dd 100644 --- a/client/pm3_mfd2eml.py +++ b/client/pm3_mfd2eml.py @@ -32,4 +32,5 @@ def main(argv): file_inp.close() file_out.close() -main(sys.argv) +if __name__ == '__main__': + main(sys.argv)