Skip to content

Commit 5b2ac78

Browse files
committed
again fixes python3.2 while maintaining python 2.x utf8 compatibility
1 parent 8a10cc4 commit 5b2ac78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyzabbix/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def do_request(self, method, params=None):
126126
if 'error' in response_json: # some exception
127127
if 'data' not in response_json['error']: # some errors don't contain 'data': workaround for ZBX-9340
128128
response_json['error']['data'] = "No data"
129-
msg = u"Error {code}: {message}, {data}".format(
129+
msg = "Error {code}: {message}, {data}".format(
130130
code=response_json['error']['code'],
131131
message=response_json['error']['message'],
132132
data=response_json['error']['data']

0 commit comments

Comments
 (0)