Skip to content

Commit c58ea84

Browse files
committed
База PostgreSQL, запуск в Docker
1 parent 0581c3f commit c58ea84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spider_storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def is_news_exists(url: str, session):
1717

1818

1919
def save_news(url: str, title: str, image: str, text: str, session):
20-
"""Созранение новости в базе."""
20+
"""Созранение новости в базе"""
2121
try:
2222
news = News(url=url, title=title, image=image, text=text)
2323
session.add(news)

0 commit comments

Comments
 (0)