Skip to content

Commit 90d97ca

Browse files
committed
Fix crypto-licensing, warnings
1 parent fa02f5f commit 90d97ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
base58 >=2.0.1,<3
22
chacha20poly1305 >=0.0.3
33
click >=8.1.3,<9
4-
crypto-licensing >=3.3.2,<4
4+
crypto-licensing >=5.0.0,<6
55
cx_Freeze >=6.12 ; sys_platform == "win32"
66
fpdf2 >=2.7.6,<3
77
#hdwallet >=2.3.0,<3

slip39/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
AES = None
6262
scrypt = None
6363
message = f"Unable to support Paper Wallet output: {exc}"
64-
warnings.warning( message, ImportWarning )
64+
warnings.warn( message, ImportWarning )
6565
if log.isEnabledFor( logging.DEBUG ):
6666
log.exception( message )
6767
paper_wallet_issues.append( message )
@@ -71,7 +71,7 @@
7171
except ImportError as exc:
7272
eth_account = None
7373
message = f"Unable to support Paper Wallet output: {exc}"
74-
warnings.warning( message, ImportWarning )
74+
warnings.warn( message, ImportWarning )
7575
if log.isEnabledFor( logging.DEBUG ):
7676
log.exception( message )
7777
paper_wallet_issues.append( message )

0 commit comments

Comments
 (0)