This commit is contained in:
xianfuxing 2020-05-27 11:18:07 +08:00
parent a2b1d35ceb
commit 955d0e4f09
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class RoleMixin(object):
class DeviceListMixin(object):
@staticmethod
def get_device_list(self):
def get_device_list():
if cache.has_key('device_list'):
device_list = cache.get('device_list')
else: