commit 44ff9837867694fec9483f194c95701eadad3292
parent e29c9f0ad8f87fcd949e0dee38c64d93c9350fa6
Author: Luxferre <lux@ferre>
Date: Sat, 17 Feb 2024 08:42:04 +0200
Suppress illegitimate warnings from urllib3
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/kisstron.py b/kisstron.py
@@ -21,6 +21,8 @@
# Created by Luxferre in 2024, released into public domain
import sys, json
+import warnings # to suppress NotOpenSSLWarning on BSDs
+warnings.filterwarnings("ignore", module="urllib3")
from tronpy import Tron
from tronpy.tron import Transaction
from tronpy.keys import PrivateKey