Skip to content

Commit 633a736

Browse files
committedApr 28, 2023
News Finance API
1 parent 0605ce5 commit 633a736

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99

1010

1111
if __name__ == "__main__":
12-
uvicorn.run('app:app', port=8080, env_file=".env.development", reload=True)
12+
uvicorn.run('app:app', port=8080, env_file=".env.development", reload=True)

‎src/connector/data_connector.py

-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ async def mem_store_to_storage(self):
5555
self._logger.info(f"Will attempt sending {len(self.mem_buffer)} Articles to the Cron API")
5656
create_article_tasks = [self.send_article_to_cron(article=article)
5757
for article in self.mem_buffer if article]
58-
5958
self.mem_buffer = []
6059

6160
_ = await asyncio.gather(*create_article_tasks)

0 commit comments

Comments
 (0)