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()
if dlg.get_response() == widgetUtils.OK:
params = {}
params["q"] = dlg.get("term").encode("utf-8")
params["q"] = dlg.get("term")
params["count"] = 200
hd = dlg.get_checkable("hd")
if hd != 0: