Skip to content

Commit 33b3f3c

Browse files
committed
Add default config value
1 parent 8b15232 commit 33b3f3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapy_playwright/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class Config:
100100
restart_disconnected_browser: bool
101101
target_closed_max_retries: int = 3
102102
use_threaded_loop: bool = False
103-
close_context_interval: Optional[float]
103+
close_context_interval: Optional[float] = None
104104

105105
@classmethod
106106
def from_settings(cls, settings: Settings) -> "Config":

0 commit comments

Comments
 (0)