[54] fix trakt recommendations

pull/1300/head
meisnate12 2 years ago
parent 944b161715
commit 5305e22674

@ -1 +1 @@
1.18.3-develop53 1.18.3-develop54

@ -473,7 +473,7 @@ class Trakt:
final_dict["status"] = util.parse(err_type, "status", trakt_dict, methods=dict_methods, parent=method_name, datatype="commalist", options=status) final_dict["status"] = util.parse(err_type, "status", trakt_dict, methods=dict_methods, parent=method_name, datatype="commalist", options=status)
valid_dicts.append(final_dict) valid_dicts.append(final_dict)
else: else:
userlist = util.parse(err_type, "userlist", trakt_dict, methods=dict_methods, parent=method_name, options=["recommended", "watched", "collected", "watchlist"]) userlist = util.parse(err_type, "userlist", trakt_dict, methods=dict_methods, parent=method_name, options=["recommendations", "watched", "collected", "watchlist"])
user = util.parse(err_type, "user", trakt_dict, methods=dict_methods, parent=method_name, default="me") user = util.parse(err_type, "user", trakt_dict, methods=dict_methods, parent=method_name, default="me")
sort_by = None sort_by = None
if userlist in ["recommended", "watchlist"] and "sort_by" in dict_methods: if userlist in ["recommended", "watchlist"] and "sort_by" in dict_methods:

Loading…
Cancel
Save