Skip to content

Commit

Permalink
fix type error by restoring language argument
Browse files Browse the repository at this point in the history
  • Loading branch information
matejcik committed Apr 28, 2022
1 parent 4406226 commit 941c296
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mnemonic/mnemonic.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def b58encode(v: bytes) -> str:

class Mnemonic(object):
def __init__(self, language: str = "english"):
self.language = language
self.radix = 2048
d = os.path.join(os.path.dirname(__file__), f"wordlist/{language}.txt")
if os.path.exists(d) and os.path.isfile(d):
Expand Down

0 comments on commit 941c296

Please sign in to comment.