Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update zbxtg.py #33

Closed
wants to merge 1 commit into from
Closed

Update zbxtg.py #33

wants to merge 1 commit into from

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