Replaced bytes object for unicode counterpart

This commit is contained in:
Manuel Cortez 2019-01-25 17:52:59 -06:00
parent da66118d20
commit 660f801afd

View File

@ -269,7 +269,7 @@ class Controller(object):
dlg = searchDialogs.searchVideoDialog() dlg = searchDialogs.searchVideoDialog()
if dlg.get_response() == widgetUtils.OK: if dlg.get_response() == widgetUtils.OK:
params = {} params = {}
params["q"] = dlg.get("term").encode("utf-8") params["q"] = dlg.get("term")
params["count"] = 200 params["count"] = 200
hd = dlg.get_checkable("hd") hd = dlg.get_checkable("hd")
if hd != 0: if hd != 0: