From d6489d101300e17c9ea78164365edb87adc350c7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 11 Jun 2008 12:37:34 -0700 Subject: [PATCH] IGN:... --- src/calibre/gui2/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/calibre/gui2/main.py b/src/calibre/gui2/main.py index d28e35b0f1..0bfec9a8a6 100644 --- a/src/calibre/gui2/main.py +++ b/src/calibre/gui2/main.py @@ -1151,11 +1151,10 @@ class Main(MainWindow, Ui_MainWindow): device=self.device_info))) self.vanity.update() s = Settings() - if True or s.get('update to version %s'%version, True): + if s.get('update to version %s'%version, True): d = question_dialog(self, _('Update available'), _('%s has been updated to version %s. Visit the download page?')%(__appname__, version)) if d.exec_() == QMessageBox.Yes: url = 'http://calibre.kovidgoyal.net/download_'+('windows' if iswindows else 'osx' if isosx else 'linux') - print url QDesktopServices.openUrl(QUrl(url)) s.set('update to version %s'%version, False)