# 修正
This commit is contained in:
parent
a2b1d35ceb
commit
955d0e4f09
|
@ -12,7 +12,7 @@ class RoleMixin(object):
|
||||||
|
|
||||||
class DeviceListMixin(object):
|
class DeviceListMixin(object):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_device_list(self):
|
def get_device_list():
|
||||||
if cache.has_key('device_list'):
|
if cache.has_key('device_list'):
|
||||||
device_list = cache.get('device_list')
|
device_list = cache.get('device_list')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue