Fix pep8.. compliance

To be concordant with the coding styles fix pep8 compliance
This commit is contained in:
2017-03-08 18:38:15 +01:00
parent 9ba7d2e517
commit e16925197c
5 changed files with 70 additions and 60 deletions

View File

@@ -146,7 +146,8 @@ class DiscussionParserBot(
return
# Initiate RedPage object
redpage = RedPage.session.query(RedPage).filter(RedPage.pageid == self.current_page.pageid ).one_or_none()
redpage = RedPage.session.query(RedPage).filter(
RedPage.pageid == self.current_page.pageid ).one_or_none()
if redpage:
redpage.update( self.current_page )