File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ def __init__(
8282 self ._call_exit = self ._get_default_call_exit () if call_exit is None else call_exit
8383 self ._is_exiting = False
8484
85- self ._configure_logging = configure_logging
8685 self ._configuration = configuration or Configuration .get_global_configuration ()
86+ self ._configure_logging = configure_logging
8787 self ._apify_client = self .new_client ()
8888
8989 # Create an instance of the cloud storage client, the local storage client is obtained
@@ -1151,6 +1151,7 @@ def _get_default_call_exit(self) -> bool:
11511151 self .log .debug ('Actor is running in Scrapy, setting default call exit to False.' )
11521152 return False
11531153
1154+ # Scrapy setting env var alone may not be sufficient; verify by attempting to import Scrapy.
11541155 with suppress (ImportError ):
11551156 import scrapy # noqa: F401
11561157
You can’t perform that action at this time.
0 commit comments