Skip to content

Commit 8e9caf0

Browse files
committed
Fix warning about invalid escape sequence
1 parent 2d3833e commit 8e9caf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jbi/queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ async def get_all(self) -> dict[int, AsyncIterator[QueueItem]]:
214214
all_items: dict[int, AsyncIterator[QueueItem]] = {}
215215
for filesystem_object in self.location.iterdir():
216216
if filesystem_object.is_dir() and re.match(
217-
"\d", filesystem_object.name
217+
r"\d", filesystem_object.name
218218
): # filtering out temp files from checks
219219
all_items[int(filesystem_object.name)] = self.get(filesystem_object)
220220
return all_items

0 commit comments

Comments
 (0)