1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 17:17:12 +00:00

init: set SZ_USER_AGENT to Bazarr/1

This commit is contained in:
panni 2019-04-03 15:56:34 +02:00
parent c11ba2c76d
commit 4da97428bc

View file

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