forked from platformio/platformio-core
Fixed an issue with the broken latest news for PIO Home
This commit is contained in:
@@ -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