Skip to content

Commit a379eb4

Browse files
committed
linter
1 parent 62ca235 commit a379eb4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/apify/scrapy/scheduler.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,7 @@ async def open_queue() -> RequestQueue:
5959
# Use the ApifyStorageClient if the Actor is running on the Apify platform,
6060
# otherwise use the MemoryStorageClient.
6161
storage_client = (
62-
ApifyStorageClient.from_config(config)
63-
if config.is_at_home
64-
else MemoryStorageClient.from_config(config)
62+
ApifyStorageClient.from_config(config) if config.is_at_home else MemoryStorageClient.from_config(config)
6563
)
6664

6765
return await RequestQueue.open(storage_client=storage_client)

0 commit comments

Comments
 (0)