We have to return unicode, not strings

This commit is contained in:
David Barroso committed 2016-11-01 20:20:59 +01:00
1 parent 7a724f9eb8
commit fcea9076d8
1 file changed
+6 -6
+6 -6
View File
@@ -149,16 +149,16 @@ class FortiOSDriver(NetworkDriver):
text_result = '\n'.join(result)
return {
'startup': "",
'running': text_result,
'candidate': "",
'startup': u"",
'running': unicode(text_result),
'candidate': u"",
}
elif get_startup or get_candidate:
return {
'startup': "",
'running': "",
'candidate': "",
'startup': u"",
'running': u"",
'candidate': u"",
}
def get_facts(self):