-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I'm trying to get this to work with python3 (currently 3.4) but can't seem to get it to work.
I receive this message:
$ python3
Python 3.4.2 (default, Oct 19 2014, 13:31:11)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pynsca
>>> from pynsca import NSCANotifier
>>> notif = NSCANotifier("nagios")
>>> notif.svc_result("localhost", "testservice", pynsca.OK, "OK: testing")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/root/pynsca.py", line 181, in svc_result
buf += data
TypeError: Can't convert 'bytes' object to str implicitly
>>>
Metadata
Metadata
Assignees
Labels
No labels