Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 26, 2023
1 parent a25c9ba commit 001a752
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions socs/agents/starcam/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def add_agent_args(parser_in=None):
pgroup.add_argument("--user-port", default="8000", type=int, help="Port of starcam computer")
return parser_in


def main(args=None):
parser = add_agent_args()
args = site_config.parse_args(agent_class="starcam_Agent", parser=parser)
Expand All @@ -191,5 +192,6 @@ def main(args=None):
agent.register_process('acq', starcam_agent.acq, starcam_agent._stop_acq)
runner.run(agent, auto_reconnect=False)


if __name__ == '__main__':
main()

0 comments on commit 001a752

Please sign in to comment.