luci-app-ssrserver-python: fix startup failure

This commit is contained in:
Burgess 2023-05-21 12:39:33 +08:00 committed by GitHub
parent 1cd432ab19
commit 28dd4b3ef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ except:
SWEEP_MAX_ITEMS = 1024
class LRUCache(collections.MutableMapping):
class LRUCache(collections.abc.MutableMapping):
"""This class is not thread safe"""
def __init__(self, timeout=60, close_callback=None, *args, **kwargs):