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 Dec 18, 2023
1 parent 4df145e commit 5d5a8e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yaqd_mks/_mks_multigas_2030.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def _measure(self):
await asyncio.sleep(10)

async def poll_gas_names(self):
while True:
while True:
print("POLLING GAS NAMES")
inner = [f"<V Name=\"EVID_{1000 + n}\"/>" for n in range(self._ngasses)]
payload = f"<?xml version=\"1.0\" encoding=\"utf-8\"?> <PollRequest>{inner}</PollRequest>"
Expand All @@ -48,7 +48,7 @@ async def poll_gas_names(self):
async def unpack_response(self, response):
if response.status == 200:
print(await response.text())

async def update_state(self):
"""Continually monitor and update the current daemon state."""
# If there is no state to monitor continuously, delete this function
Expand Down

0 comments on commit 5d5a8e2

Please sign in to comment.