Skip to content

Commit

Permalink
#336 : Update mongoengine requirement
Browse files Browse the repository at this point in the history
- Fix bugs and errors in tests
  • Loading branch information
mlbiche committed Mar 24, 2020
1 parent 2bc54b9 commit e271d47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blog/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def morph(self):
class SteemitArticle:
def __init__(self, article, url):
res = requests.get(url)
html = BeautifulSoup(res.text)
html = BeautifulSoup(res.text, "lxml")
uri = re.match('https://steemit.com/.+/@(.*)', url).groups()[0]
content = html.body.find('script',
attrs={'type': 'application/json'}).text
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Flask==1.1.1
Flask-Login==0.4.0
langdetect==1.0.7
Markdown==2.6.11
mongoengine==0.15.3
mongoengine==0.19.1
Pillow==6.2.1
requests==2.22.0

Expand Down
2 changes: 1 addition & 1 deletion settings.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
DATABASE = {
'db': 'neomad_test',
'username': 'root',
'host': 'localhost'
'host': 'localhost',
'password': '',
'port': int(os.environ.get('DB_PORT', 27017))
}
Expand Down

0 comments on commit e271d47

Please sign in to comment.