Skip to content

Commit 923541b

Browse files
committed
fusion
2 parents 1492dc1 + 26b5821 commit 923541b

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

resources/lib/builds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def __iter__(self):
186186
html = self._text()
187187

188188
self.build_re = re.compile(
189-
self.BUILD_RE.format(dist=libreelec.OS_RELEASE['NAME'], arch=config.arch),
189+
self.BUILD_RE.format(dist=libreelec.name(), arch=config.arch),
190190
re.I)
191191

192192
soup = BeautifulSoup(html, 'html.parser',

resources/lib/libreelec.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ def release():
1616
def name():
1717
return OS_RELEASE['NAME']
1818

19-
def version():
20-
return OS_RELEASE['VERSION_ID']
21-
2219
def mount_readwrite():
2320
subprocess.check_call(['mount', '-o', 'rw,remount', '/flash'])
2421

0 commit comments

Comments
 (0)