diff --git a/setup/upload.py b/setup/upload.py index e9fb8c66ca..52b8e8f49b 100644 --- a/setup/upload.py +++ b/setup/upload.py @@ -303,9 +303,6 @@ class UploadInstallers(Command): installers.append(installer_name('tar.bz2', is64bit=True)) map(self.upload_installer, installers) - check_call('''ssh divok echo %s \\> %s/latest_version'''\ - %(__version__, DOWNLOADS), shell=True) - class UploadUserManual(Command): description = 'Build and upload the User Manual' sub_commands = ['manual'] @@ -349,6 +346,8 @@ class UploadToServer(Command): shell=True) check_call('ssh divok bzr update /usr/local/calibre', shell=True) + check_call('''ssh divok echo %s \\> %s/latest_version'''\ + %(__version__, DOWNLOADS), shell=True) check_call('ssh divok /etc/init.d/apache2 graceful', shell=True) diff --git a/src/calibre/gui2/main.py b/src/calibre/gui2/main.py index 43ccfe2073..6b27140c76 100644 --- a/src/calibre/gui2/main.py +++ b/src/calibre/gui2/main.py @@ -750,7 +750,7 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI): if model.location_for_row(x) == 'carda': self.card_a_view.write_settings() elif model.location_for_row(x) == 'cardb': - self.carb_b_view.write_settings() + self.card_b_view.write_settings() def device_detected(self, connected): '''