| Index: tools/grit/grit/format/policy_templates/policy_template_generator.py
|
| diff --git a/tools/grit/grit/format/policy_templates/policy_template_generator.py b/tools/grit/grit/format/policy_templates/policy_template_generator.py
|
| index 1d54b9726f3cc7b3b7e45bb081ec8c5d50b7fbc3..e2f61e6a686d36d1dfda8b3b038e126e96e9f55a 100644
|
| --- a/tools/grit/grit/format/policy_templates/policy_template_generator.py
|
| +++ b/tools/grit/grit/format/policy_templates/policy_template_generator.py
|
| @@ -16,6 +16,7 @@ class PolicyTemplateGenerator:
|
| '''
|
|
|
| def _ImportMessage(self, msg_txt):
|
| + msg_txt = msg_txt.decode('utf-8')
|
| # Replace the placeholder of app name.
|
| msg_txt = msg_txt.replace('$1', self._config['app_name'])
|
| msg_txt = msg_txt.replace('$2', self._config['os_name'])
|
|
|