mirror of
https://github.com/morpheus65535/bazarr
synced 2025-01-31 03:12:12 +00:00
Fix for BAZARR_VERSION issue.
This commit is contained in:
parent
bf6448d0be
commit
b7ef1329ce
1 changed files with 4 additions and 3 deletions
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
bazarr_version = '0.8.3'
|
bazarr_version = '0.8.3'
|
||||||
|
|
||||||
|
import os
|
||||||
|
os.environ["SZ_USER_AGENT"] = "Bazarr/1"
|
||||||
|
os.environ["BAZARR_VERSION"] = bazarr_version
|
||||||
|
|
||||||
import gc
|
import gc
|
||||||
import sys
|
import sys
|
||||||
import libs
|
import libs
|
||||||
|
@ -59,9 +63,6 @@ reload(sys)
|
||||||
sys.setdefaultencoding('utf8')
|
sys.setdefaultencoding('utf8')
|
||||||
gc.enable()
|
gc.enable()
|
||||||
|
|
||||||
os.environ["SZ_USER_AGENT"] = "Bazarr/1"
|
|
||||||
os.environ["BAZARR_VERSION"] = bazarr_version
|
|
||||||
|
|
||||||
# Check and install update on startup when running on Windows from installer
|
# Check and install update on startup when running on Windows from installer
|
||||||
if args.release_update:
|
if args.release_update:
|
||||||
check_and_apply_update()
|
check_and_apply_update()
|
||||||
|
|
Loading…
Reference in a new issue