This commit is contained in:
Kovid Goyal 2008-03-11 08:00:29 +00:00
parent e312c4a60e
commit e160b01f84

View File

@ -1000,7 +1000,7 @@ class Main(MainWindow, Ui_MainWindow):
def update_found(self, version): def update_found(self, version):
os = 'windows' if iswindows else 'osx' if isosx else 'linux' os = 'windows' if iswindows else 'osx' if isosx else 'linux'
url = 'https://libprs500.kovidgoyal.net/download_'+os url = 'http://%s.kovidgoyal.net/download_%s'%(__appname__, os)
self.latest_version = '<span style="color:red; font-weight:bold">Latest version: <a href="%s">%s</a></span>'%(url, version) self.latest_version = '<span style="color:red; font-weight:bold">Latest version: <a href="%s">%s</a></span>'%(url, version)
self.vanity.setText(self.vanity_template%(dict(version=self.latest_version, self.vanity.setText(self.vanity_template%(dict(version=self.latest_version,
device=self.device_info))) device=self.device_info)))