From ebe985b9eb88071b9e0ac7400e011533bdeac525 Mon Sep 17 00:00:00 2001 From: adm-github Date: Thu, 4 Jun 2020 14:46:31 +0200 Subject: [PATCH] Update utils.py --- tvdb_client/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tvdb_client/utils/utils.py b/tvdb_client/utils/utils.py index a38c15e..3cd0111 100644 --- a/tvdb_client/utils/utils.py +++ b/tvdb_client/utils/utils.py @@ -17,7 +17,7 @@ def query_param_string_from_option_args(a2q_dict, args_dict): if value != None: name_value_pairs[a2q_dict[ak]] = str(value) - return urllib.urlencode(name_value_pairs) + return urllib.parse.urlencode(name_value_pairs) def make_str_content(content):