Update PIO Home to 3.0.1

This commit is contained in:
Ivan Kravets
2019-11-13 15:32:57 +02:00
parent 53e6cf3e4a
commit b1577d101c
2 changed files with 2 additions and 2 deletions

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 = app.ContentCache.key_from_args(data_url)
cache_key = app.ContentCache.key_from_args(data_url, "tweets")
cache_valid = "7d"
with app.ContentCache() as cc:
cache_data = cc.get(cache_key)