frontend/pdq2_client: fix entry point

This commit is contained in:
Sebastien Bourdeauducq 2015-01-22 10:38:47 +08:00
parent c8f2f4b245
commit 569600b607
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ def _get_args():
return parser.parse_args()
def _main():
def main():
args = _get_args()
dev = Client(args.server, args.port, "pdq2")
dev.init()
@ -131,4 +131,4 @@ def _main():
fig.savefig(args.plot)
if __name__ == "__main__":
_main()
main()