Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
refactor(suggestions): Refactor code based on suggestions in PR review
  • Loading branch information
drikusroor authored Jan 11, 2024
1 parent 32e9649 commit ed8d2aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion backend/experiment/actions/base_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

class BaseAction(object):
ID = 'BASE'
style = FrontendStyle()

def __init__(self, style = FrontendStyle()):
self.style = style
Expand Down
2 changes: 1 addition & 1 deletion backend/experiment/actions/consent.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Consent(BaseAction): # pylint: disable=too-few-public-methods
ea sea expetenda suscipiantur contentiones."

def __init__(self, text=default_text, title='Informed consent', confirm='I agree', deny='Stop', style=FrontendStyle()):
super(Consent, self).__init__(style)
super().__init__(style)
self.text = text
self.title = title
self.confirm = confirm
Expand Down

0 comments on commit ed8d2aa

Please sign in to comment.