Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
STY: flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgav committed Aug 11, 2023
1 parent e19de49 commit 9e0ea0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ophyd_epics_devices/panda.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ async def connect(self, sim=False) -> None:
# both 'pcap' and 'pcap1' are in PVI, remove 'pcap1'.
pvi_keys = set(pvi.keys())
for k in pvi_keys:
kn = re.sub("\d*$", "", k)
kn = re.sub(r"\d*$", "", k)
if kn and k != kn and kn in pvi_keys:
del pvi[k]

Expand Down

0 comments on commit 9e0ea0f

Please sign in to comment.