liquidat / nagios-icinga-openvpn

Nagios/Icinga check for OpenVPN availability monitoring
MIT License
51 stars 27 forks source link

add python3 support #13

Closed andiwand closed 7 years ago

liquidat commented 7 years ago

Dear andiwand, thanks for the PR, as usual! One question though: what is the "b" about ion line 69, for example? I've never seen that...

andiwand commented 7 years ago

hey liquidat! in python 3 you distinguish between bytes and strings. the 'b' tells python 3 that the following string is a byte string literal. http://stackoverflow.com/questions/6269765/what-does-the-b-character-do-in-front-of-a-string-literal

liquidat commented 7 years ago

Ah, great, thanks!