def install_profile_data(command):
profile = DeviceProfile.objects.get(device=command.device, identifier=command.data)
data = dict()
data['RequestType'] = 'InstallProfile'
data['Payload'] = plistlib.Data(profile.payload)
return data
评论列表
文章目录