summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2021-05-10 23:00:47 -0400
committermorpheus65535 <[email protected]>2021-05-10 23:00:47 -0400
commitffe8a201a9066bfc47d94f5bb2edc718447e7898 (patch)
tree98a668313728449574948c67aa640e344ae767c7
parentfe0a34aae58e478c0265cada2e9b08842e8cb92c (diff)
downloadbazarr-ffe8a201a9066bfc47d94f5bb2edc718447e7898.tar.gz
bazarr-ffe8a201a9066bfc47d94f5bb2edc718447e7898.zip
Fix for Bazarr version parsing.
-rw-r--r--bazarr/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/main.py b/bazarr/main.py
index 92bc3bdb4..35be69526 100644
--- a/bazarr/main.py
+++ b/bazarr/main.py
@@ -18,7 +18,7 @@ if os.path.isfile(version_file):
bazarr_version = f.readline()
bazarr_version = bazarr_version.rstrip('\n')
-os.environ["BAZARR_VERSION"] = bazarr_version
+os.environ["BAZARR_VERSION"] = bazarr_version.lstrip('v')
import libs