mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-09 08:17:42 +08:00
main: set user agent for providers
This commit is contained in:
parent
a5d547556b
commit
67963633ef
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ gc.enable()
|
||||||
update_notifier()
|
update_notifier()
|
||||||
|
|
||||||
bazarr_version = '0.7.0'
|
bazarr_version = '0.7.0'
|
||||||
|
os.environ["SZ_USER_AGENT"] = "Bazarr/1"
|
||||||
|
|
||||||
configure_logging(settings.general.getboolean('debug') or args.debug)
|
configure_logging(settings.general.getboolean('debug') or args.debug)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue