forked from M-Labs/artiq
frontend/pdq2_client: fix entry point
This commit is contained in:
parent
c8f2f4b245
commit
569600b607
|
@ -52,7 +52,7 @@ def _get_args():
|
||||||
return parser.parse_args()
|
return parser.parse_args()
|
||||||
|
|
||||||
|
|
||||||
def _main():
|
def main():
|
||||||
args = _get_args()
|
args = _get_args()
|
||||||
dev = Client(args.server, args.port, "pdq2")
|
dev = Client(args.server, args.port, "pdq2")
|
||||||
dev.init()
|
dev.init()
|
||||||
|
@ -131,4 +131,4 @@ def _main():
|
||||||
fig.savefig(args.plot)
|
fig.savefig(args.plot)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
_main()
|
main()
|
||||||
|
|
Loading…
Reference in New Issue