Skip to content

Commit

Permalink
Merge pull request #435 from hax0rbana-adam/434-super-init-not-called…
Browse files Browse the repository at this point in the history
…-crash

fix: avoid execption by calling parent class's constructor #434
  • Loading branch information
newtonick authored Aug 14, 2023
2 parents b592749 + d7cf0c5 commit a108dc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/seedsigner/views/seed_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1113,6 +1113,7 @@ def run(self):
****************************************************************************"""
class SeedWordsBackupTestPromptView(View):
def __init__(self, seed_num: int, bip85_data: dict = None):
super().__init__()
self.seed_num = seed_num
self.bip85_data = bip85_data

Expand Down Expand Up @@ -1257,6 +1258,7 @@ def run(self):

class SeedWordsBackupTestSuccessView(View):
def __init__(self, seed_num: int):
super().__init__()
self.seed_num = seed_num

def run(self):
Expand Down

0 comments on commit a108dc4

Please sign in to comment.