Fix broken checks for presence of dummy keychain due to type mismatch
Refs #5200
Change-Id: I848c979c414cb802fe09359efda96c7dd29aa73d
diff --git a/minindn/wifi/minindnwifi.py b/minindn/wifi/minindnwifi.py
index d09d3b8..c403fc4 100644
--- a/minindn/wifi/minindnwifi.py
+++ b/minindn/wifi/minindnwifi.py
@@ -81,7 +81,7 @@
process = Popen(['ndnsec-get-default', '-k'], stdout=PIPE, stderr=PIPE)
output, error = process.communicate()
if process.returncode == 0:
- Minindn.ndnSecurityDisabled = '/dummy/KEY/-%9C%28r%B8%AA%3B%60' in output
+ Minindn.ndnSecurityDisabled = '/dummy/KEY/-%9C%28r%B8%AA%3B%60' in output.decode("utf-8")
info('Dummy key chain patch is installed in ndn-cxx. Security will be disabled.\n')
else:
debug(error)