From cab52af42e424f57cb927e545a8dfab21ef9361b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Sat, 11 Apr 2020 08:04:14 -0400 Subject: [PATCH] Fixed small deprecation with logging.warn --- bazarr/check_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/check_update.py b/bazarr/check_update.py index 965973828..4938724a2 100644 --- a/bazarr/check_update.py +++ b/bazarr/check_update.py @@ -60,7 +60,7 @@ def check_and_apply_update(): if releases is None: notifications.write(msg='Could not get releases from GitHub.', queue='check_update', type='warning') - logging.warn('BAZARR Could not get releases from GitHub.') + logging.warning('BAZARR Could not get releases from GitHub.') return else: release = releases[0]