diff --git a/HISTORY.rst b/HISTORY.rst index 36b638be..0c25869e 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -10,6 +10,7 @@ PlatformIO Core 4.0 ~~~~~~~~~~~~~~~~~~ * Handle project configuration (monitor, test, and upload options) for PIO Remote commands (`issue #2591 `_) +* Fixed an issue with the broken latest news for PIO Home 4.1.0 (2019-11-07) ~~~~~~~~~~~~~~~~~~ diff --git a/platformio/commands/home/rpc/handlers/misc.py b/platformio/commands/home/rpc/handlers/misc.py index 992eeebe..7458500e 100644 --- a/platformio/commands/home/rpc/handlers/misc.py +++ b/platformio/commands/home/rpc/handlers/misc.py @@ -23,7 +23,7 @@ from platformio.commands.home.rpc.handlers.os import OSRPC class MiscRPC(object): def load_latest_tweets(self, data_url): - cache_key = data_url + cache_key = app.ContentCache.key_from_args(data_url) cache_valid = "7d" with app.ContentCache() as cc: cache_data = cc.get(cache_key)