Merge branch 'deskos-xp-develop' into develop

This commit is contained in:
Micah Lee 2018-09-14 15:11:41 -07:00
commit db2e3c9a34
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -411,9 +411,9 @@ class Launcher(QtWidgets.QMainWindow):
def check_min_version(self):
installed_version = None
for line in open(self.common.paths['tbb']['changelog']).readlines():
if line.startswith('Tor Browser '):
installed_version = line.split()[2]
for line in open(self.common.paths['tbb']['changelog'],'rb').readlines():
if line.startswith(b'Tor Browser '):
installed_version = line.split()[2].decode()
break
if self.min_version <= installed_version: