Skip to content

Commit dc0c18f

Browse files
committed
linter
1 parent 7009101 commit dc0c18f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser_use/dom/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def create_dom_tree_request():
426426
self.logger.warning(
427427
f'⚠️ Limiting processing of {original_doc_count} iframes on page to only first {self.max_iframes} to prevent crashes!'
428428
)
429-
snapshot['documents'] = snapshot['documents'][:self.max_iframes]
429+
snapshot['documents'] = snapshot['documents'][: self.max_iframes]
430430

431431
total_nodes = sum(len(doc.get('nodes', [])) for doc in snapshot['documents'])
432432
self.logger.debug(f'🔍 DEBUG: Snapshot contains {len(snapshot["documents"])} frames with {total_nodes} total nodes')

0 commit comments

Comments
 (0)