Ignore sha3 warning of merkletools module
This commit is contained in:
parent
d1456850d1
commit
28ffb3fd18
1 changed files with 5 additions and 1 deletions
|
@ -4,6 +4,7 @@ import subprocess
|
|||
import shutil
|
||||
import collections
|
||||
import math
|
||||
import warnings
|
||||
|
||||
import gevent
|
||||
import gevent.lock
|
||||
|
@ -11,7 +12,10 @@ import gevent.lock
|
|||
from Plugin import PluginManager
|
||||
from Debug import Debug
|
||||
from Crypt import CryptHash
|
||||
from lib import merkletools
|
||||
with warnings.catch_warnings():
|
||||
warnings.filterwarnings("ignore") # Ignore missing sha3 warning
|
||||
import merkletools
|
||||
|
||||
from util import helper
|
||||
import util
|
||||
from .BigfilePiecefield import BigfilePiecefield, BigfilePiecefieldPacked
|
||||
|
|
Loading…
Reference in a new issue