problems with camera not sending
This commit is contained in:
@@ -5,13 +5,12 @@ import config
|
|||||||
picture_base64 = camera.get_transfer_picture_base64()
|
picture_base64 = camera.get_transfer_picture_base64()
|
||||||
if picture_base64 is not None:
|
if picture_base64 is not None:
|
||||||
camera.remove_transfer_picture()
|
camera.remove_transfer_picture()
|
||||||
|
controller_id = config.CONTROLLER_ID
|
||||||
|
owner = "Controller: %s" % controller_id
|
||||||
|
|
||||||
controller_id = config.CONTROLLER_ID
|
response = requests.post(config.PICTURE_URL + '/' + controller_id, json={
|
||||||
owner = "Controller: %s" % controller_id
|
"picture_base64": picture_base64
|
||||||
|
})
|
||||||
|
print response
|
||||||
|
|
||||||
response = requests.post(config.PICTURE_URL + '/' + controller_id, json={
|
|
||||||
"picture_base64": picture_base64
|
|
||||||
})
|
|
||||||
|
|
||||||
print response
|
|
||||||
print picture_base64 is not None
|
print picture_base64 is not None
|
||||||
|
|||||||
Reference in New Issue
Block a user