mirror of
https://github.com/morpheus65535/bazarr
synced 2025-03-12 15:13:05 +00:00
fix for DeprecationWarning #162
This commit is contained in:
parent
39aa932465
commit
20b315a368
1 changed files with 3 additions and 0 deletions
|
@ -1658,6 +1658,9 @@ def test_url(protocol, url):
|
||||||
else:
|
else:
|
||||||
return dict(status=True, version=result)
|
return dict(status=True, version=result)
|
||||||
|
|
||||||
|
import warnings
|
||||||
|
# Mute DeprecationWarning
|
||||||
|
warnings.simplefilter("ignore", DeprecationWarning)
|
||||||
|
|
||||||
logging.info('Bazarr is started and waiting for request on http://' + str(ip) + ':' + str(port) + str(base_url))
|
logging.info('Bazarr is started and waiting for request on http://' + str(ip) + ':' + str(port) + str(base_url))
|
||||||
run(host=ip, port=port, server='waitress', app=app)
|
run(host=ip, port=port, server='waitress', app=app)
|
||||||
|
|
Loading…
Add table
Reference in a new issue