Fixed an issue with the broken latest news for PIO Home

This commit is contained in:
Ivan Kravets
2019-11-12 13:09:35 +02:00
parent 1f796ca0e5
commit cbb7869da1
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ PlatformIO Core 4.0
~~~~~~~~~~~~~~~~~~
* Handle project configuration (monitor, test, and upload options) for PIO Remote commands (`issue #2591 <https://github.com/platformio/platformio-core/issues/2591>`_)
* Fixed an issue with the broken latest news for PIO Home
4.1.0 (2019-11-07)
~~~~~~~~~~~~~~~~~~

View File

@ -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)