Skip to content
Snippets Groups Projects
Commit 4683612c authored by Emanuele Laface's avatar Emanuele Laface
Browse files

Removed unused list initialization

parent 726a6f2f
No related branches found
No related tags found
No related merge requests found
Pipeline #74634 passed
......@@ -30,7 +30,6 @@ async def heath():
@app.get("/api/v1/caget/{pvlist}")
async def get_pv(pvlist: str):
pvnames = pvlist.split(",")
pvs = []
pvs = [epics.get_pv(pvname, auto_monitor=True) for pvname in pvnames]
time.sleep(1)
result = {p.pvname: p._args for p in pvs}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment