Skip to content

Commit 93f8f07

Browse files
committed
Fix linting
1 parent a6e897f commit 93f8f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dodal/devices/util/lookup_tables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async def energy_distance_table(lookup_table_path: str) -> np.ndarray:
2727

2828
# Slight cheat to make the file IO async, numpy doesn't do any real IO now, just
2929
# decodes the text
30-
async with aiofiles.open(lookup_table_path, "r") as stream:
30+
async with aiofiles.open(lookup_table_path) as stream:
3131
raw_table = await stream.read()
3232
return loadtxt(StringIO(raw_table), comments=["#", "Units"])
3333

0 commit comments

Comments
 (0)