diff --git a/couchpotato/core/_base/updater/main.py b/couchpotato/core/_base/updater/main.py index 2b53ba4..980e247 100644 --- a/couchpotato/core/_base/updater/main.py +++ b/couchpotato/core/_base/updater/main.py @@ -14,6 +14,7 @@ import shutil import tarfile import time import traceback +import version log = CPLog(__name__) @@ -114,7 +115,7 @@ class BaseUpdater(Plugin): repo_user = 'RuudBurger' repo_name = 'CouchPotatoServer' - branch = 'develop' + branch = version.BRANCH version = None update_failed = False diff --git a/version.py b/version.py index 3808ef1..81b487e 100644 --- a/version.py +++ b/version.py @@ -1 +1,2 @@ VERSION = '2.0.0.pre1' +BRANCH = 'develop'