Skip to content
Snippets Groups Projects
Commit 6e5fb9cf authored by Auke Klazema's avatar Auke Klazema
Browse files

SW-720: Fix python3 bytestring issue

parent a23505d7
No related branches found
No related tags found
1 merge request!6Import cobalt2 into lofar4
......@@ -132,7 +132,7 @@ class TriggerListView(views.APIView):
#print xml
# OR: USE RECEIVED XML DIRECTLY:
xml = str(request.body)
xml = request.body.decode('utf8')
logger.debug('calling trigger handler')
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment