Revert "Fix for UnicodeEncodeError in search"

This reverts commit 4a3240bf1a.

VM names never contain any unicode characters, so this fix only
propagates the possibility of an encoding error to further down
the line, rather than removing it.

A proper fix would involve filtering the input to the search box
as we do with creating & renaming VMs.
This commit is contained in:
Jean-Philippe Ouellet 2017-01-23 12:14:38 -05:00
parent cbd8afd2c3
commit b2bcc00e1d
No known key found for this signature in database
GPG Key ID: 4747332C27533622

View File

@ -719,7 +719,7 @@ class VmManagerWindow(Ui_VmManagerWindow, QMainWindow):
@pyqtSlot(str)
def do_search(self, search):
self.search = unicode(search)
self.search = str(search)
self.showhide_vms()
self.set_table_geom_size()