diff --git a/bin/scripts/rfslpublish.py b/bin/scripts/rfslpublish.py index a4e6e62..2af3e18 100644 --- a/bin/scripts/rfslpublish.py +++ b/bin/scripts/rfslpublish.py @@ -175,7 +175,7 @@ def sumologic_publish(): if ARGS.verbose > 4: print(f'Publishing: {category}') postresponse = session.post(CFGDICT['source-url'], \ - rf_map_payload, headers=headers).status_code + rf_map_payload.encode('utf-8'), headers=headers).status_code if ARGS.verbose > 8: print(f'Web_Status: {postresponse}')