Skip to content

Commit 1f3baed

Browse files
authored
Update import_pictures.py
1 parent a4bbefc commit 1f3baed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/import_pictures.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ async def import_pictures():
115115
# print(datasCurrent)
116116
# print(datas)
117117

118-
async with aiohttp.ClientSession() as session:
118+
connector = aiohttp.TCPConnector(ssl=False)
119+
async with aiohttp.ClientSession(connector=connector) as session:
119120
tasks = [process_data(datas[entry], entry, session) for entry in datas]
120121
await gather_with_concurrency(sesame_import_parallels_files, tasks)

0 commit comments

Comments
 (0)