mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 01:02:19 +00:00
init: set SZ_USER_AGENT to Bazarr/1
This commit is contained in:
parent
c11ba2c76d
commit
4da97428bc
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ from config import settings
|
|||
from check_update import check_releases
|
||||
from get_args import args
|
||||
|
||||
# set subliminal_patch user agent
|
||||
os.environ["SZ_USER_AGENT"] = "Bazarr/1"
|
||||
|
||||
# Check if args.config_dir exist
|
||||
if not os.path.exists(args.config_dir):
|
||||
# Create config_dir directory tree
|
||||
|
|
Loading…
Reference in a new issue