mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-09-20 15:35:58 +08:00
Fixed small deprecation with logging.warn
This commit is contained in:
parent
2a2e0d8c2e
commit
cab52af42e
|
@ -60,7 +60,7 @@ def check_and_apply_update():
|
||||||
if releases is None:
|
if releases is None:
|
||||||
notifications.write(msg='Could not get releases from GitHub.',
|
notifications.write(msg='Could not get releases from GitHub.',
|
||||||
queue='check_update', type='warning')
|
queue='check_update', type='warning')
|
||||||
logging.warn('BAZARR Could not get releases from GitHub.')
|
logging.warning('BAZARR Could not get releases from GitHub.')
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
release = releases[0]
|
release = releases[0]
|
||||||
|
|
Loading…
Reference in a new issue