|
@@ -44,7 +44,7 @@ class index_path(Load):
|
|
|
self.data['msg'] = str(99) + '+'
|
|
|
|
|
|
self.data['pic'] = []
|
|
|
- pic = self.service('common').list('device_info', state=True, search={'hardware_type':6, 'farm_id':self.data['info']['farm_id']})
|
|
|
+ pic = self.service('common').list('device_info', state=True, search={'hardware_type':6, 'farm_id':Demeter.config['setting']['farm']})
|
|
|
if pic:
|
|
|
for key, value in enumerate(pic):
|
|
|
pic[key]['cdates'] = Demeter.date(value['cdate'])
|