From 20b315a368395f4d5e6fc87c51b065300628c94d Mon Sep 17 00:00:00 2001 From: Halali Date: Sat, 29 Sep 2018 19:31:31 +0200 Subject: [PATCH] fix for DeprecationWarning #162 --- bazarr.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bazarr.py b/bazarr.py index b6b7b4996..067be61d1 100644 --- a/bazarr.py +++ b/bazarr.py @@ -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)