Skip to content

Commit 941c296

Browse files
committed
fix type error by restoring language argument
1 parent 4406226 commit 941c296

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mnemonic/mnemonic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def b58encode(v: bytes) -> str:
6767

6868
class Mnemonic(object):
6969
def __init__(self, language: str = "english"):
70+
self.language = language
7071
self.radix = 2048
7172
d = os.path.join(os.path.dirname(__file__), f"wordlist/{language}.txt")
7273
if os.path.exists(d) and os.path.isfile(d):

0 commit comments

Comments
 (0)