diff options
author | Halali <[email protected]> | 2018-09-29 19:31:31 +0200 |
---|---|---|
committer | Halali <[email protected]> | 2018-09-29 19:31:31 +0200 |
commit | 20b315a368395f4d5e6fc87c51b065300628c94d (patch) | |
tree | b8a98cb52d3f4c007b0dcd5ec7cbc4288b624c79 /bazarr.py | |
parent | 39aa932465ccb79e2cdc30f02e8e1abaf01abf0f (diff) | |
download | bazarr-20b315a368395f4d5e6fc87c51b065300628c94d.tar.gz bazarr-20b315a368395f4d5e6fc87c51b065300628c94d.zip |
fix for DeprecationWarning #162
Diffstat (limited to 'bazarr.py')
-rw-r--r-- | bazarr.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1658,6 +1658,9 @@ def test_url(protocol, url): else: 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)) run(host=ip, port=port, server='waitress', app=app) |