♻️ (flows.py): rename loop variable flow to _flow to avoid shadowing and improve readability
This commit is contained in:
parent
496f4f6b91
commit
fa4dd19ce6
1 changed files with 2 additions and 2 deletions
|
|
@ -49,8 +49,8 @@ def create_flow(
|
|||
if flows:
|
||||
extract_number = re.compile(r"\((\d+)\)$")
|
||||
numbers = []
|
||||
for flow in flows:
|
||||
result = extract_number.search(flow.name)
|
||||
for _flow in flows:
|
||||
result = extract_number.search(_flow.name)
|
||||
if result:
|
||||
numbers.append(int(result.groups(1)[0]))
|
||||
if numbers:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue