diff --git a/qubesmanager/bootfromdevice.py b/qubesmanager/bootfromdevice.py index 477e38d..d17e8fc 100644 --- a/qubesmanager/bootfromdevice.py +++ b/qubesmanager/bootfromdevice.py @@ -49,14 +49,13 @@ class VMBootFromDeviceWindow(Ui_BootDialog, QDialog): if self.blockDeviceRadioButton.isChecked(): cdrom_location = self.blockDeviceComboBox.currentText() elif self.fileRadioButton.isChecked(): - cdrom_location = self.vm_list[self.fileVM.currentIndex()] + ":" + self.pathText.text() + cdrom_location = str(self.vm_list[self.fileVM.currentIndex()]) + ":" + self.pathText.text() else: QMessageBox.warning(None, self.tr( "ERROR!"), self.tr("No file or block device selected; please select one.")) return - qvm_start.main(['--cdrom', cdrom_location, self.vm.name]) def __init_buttons__(self):