Private GIT

Skip to content
Snippets Groups Projects
Commit 2034443f authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Fix commit hash in updater

parent 4238c5d7
No related branches found
No related tags found
No related merge requests found
...@@ -194,7 +194,7 @@ class CheckVersion(): ...@@ -194,7 +194,7 @@ class CheckVersion():
def getDBcompare(self): def getDBcompare(self):
try: try:
response = requests.get("http://cdn.rawgit.com/SICKRAGETV/SickRage/" + str(self._newest_commit_hash) +"/sickbeard/databases/mainDB.py") response = requests.get("http://cdn.rawgit.com/SICKRAGETV/SickRage/" + str(self.updater.get_newest_commit_hash()) +"/sickbeard/databases/mainDB.py")
response.raise_for_status() response.raise_for_status()
match = re.search(r"MAX_DB_VERSION\s=\s(?P<version>\d{2,3})",response.text) match = re.search(r"MAX_DB_VERSION\s=\s(?P<version>\d{2,3})",response.text)
branchDestDBversion = int(match.group('version')) branchDestDBversion = int(match.group('version'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment