From df4d3eb0e64214c862e04aba820adbe9a3271fe8 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Thu, 17 Nov 2022 17:27:41 -0600 Subject: [PATCH] Fix Issue that avoids removing trending topic buffers --- src/controller/twitter/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/twitter/handler.py b/src/controller/twitter/handler.py index 01e19448..54c397f0 100644 --- a/src/controller/twitter/handler.py +++ b/src/controller/twitter/handler.py @@ -289,7 +289,7 @@ class Handler(object): return root_position =controller.view.search(session.get_name(), session.get_name()) pub.sendMessage("createBuffer", buffer_type="TrendsBuffer", session_type=session.type, buffer_title=_("Trending topics for %s") % (trends.get_string()), parent_tab=root_position, start=True, kwargs=dict(parent=controller.view.nb, name="%s_tt" % (woeid,), sessionObject=session, account=session.get_name(), trendsFor=woeid, sound="trends_updated.ogg")) - session.settings["other_buffers"]["trending_topic_buffers"].append(woeid) + session.settings["other_buffers"]["trending_topic_buffers"].append(str(woeid)) session.settings.write() def start_buffer(self, controller, buffer):