summaryrefslogtreecommitdiffstats
path: root/cmso-robot/robot/locallibrary/cmsoUtils/HTTPUtils.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmso-robot/robot/locallibrary/cmsoUtils/HTTPUtils.py')
-rw-r--r--cmso-robot/robot/locallibrary/cmsoUtils/HTTPUtils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmso-robot/robot/locallibrary/cmsoUtils/HTTPUtils.py b/cmso-robot/robot/locallibrary/cmsoUtils/HTTPUtils.py
index f9d380c..8749af8 100644
--- a/cmso-robot/robot/locallibrary/cmsoUtils/HTTPUtils.py
+++ b/cmso-robot/robot/locallibrary/cmsoUtils/HTTPUtils.py
@@ -17,5 +17,5 @@ class HTTPUtils:
def b64_encode(self, instring):
""
- return base64.b64encode(instring)
+ return base64.b64encode(bytes(instring,encoding='utf8'))