Fixed small deprecation with logging.warn

This commit is contained in:
Louis Vézina 2020-04-11 08:04:14 -04:00
parent 2a2e0d8c2e
commit cab52af42e
1 changed files with 1 additions and 1 deletions

View File

@ -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]