mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fixed an issue with the broken latest news for PIO Home
This commit is contained in:
@ -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)
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user