From 660f801afd58459534dcf268825266cb25753232 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Fri, 25 Jan 2019 17:52:59 -0600 Subject: [PATCH] Replaced bytes object for unicode counterpart --- src/controller/mainController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/mainController.py b/src/controller/mainController.py index 5a291ce..932aeca 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -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: