Skip to content

Conversation

@itvdonsk
Copy link

@itvdonsk itvdonsk commented Apr 2, 2016

Without .decode("string_escape") not convert "\n" as new line symbol

Without .decode("string_escape") not convert "\n" as new line symbol
@ableev ableev changed the base branch from master to dev September 11, 2017 20:41
ableev pushed a commit that referenced this pull request Sep 11, 2017
@ableev ableev changed the base branch from dev to master September 11, 2017 21:27
@ableev ableev changed the base branch from master to dev September 11, 2017 21:27
ableev pushed a commit that referenced this pull request Sep 11, 2017
@ableev
Copy link
Owner

ableev commented Sep 11, 2017

Changed, thanks @itvdonsk

@ableev ableev closed this Sep 11, 2017
@ableev
Copy link
Owner

ableev commented Dec 18, 2017

@itvdonsk as I told you from the beginning, not so great decision...
It breaks python3 compatibility

    zbx_body = sys.argv[3].decode("string_escape")
AttributeError: 'str' object has no attribute 'decode'

ableev pushed a commit that referenced this pull request Dec 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants