joshvillbrandt / wireless

A dead simple, cross-platform Python library to connect to wireless networks.
https://pypi.org/project/wireless/
Apache License 2.0
83 stars 42 forks source link

Python3 support #8

Closed XayOn closed 8 years ago

XayOn commented 8 years ago

Traceback (most recent call last): File "/home/xayon/.virtualenvs/smoothie/lib/python3.4/site-packages/rq/worker.py", line 568, in perform_job rv = job.perform() File "/home/xayon/.virtualenvs/smoothie/lib/python3.4/site-packages/rq/job.py", line 495, in perform self._result = self.func(_self.args, *_self.kwargs) File "./smoothie/plugins/interfaces.py", line 28, in interfaces return str(Interfaces()) File "./smoothie/plugins/init.py", line 37, in init self.run() File "./smoothie/plugins/init.py", line 78, in run self.callback() File "./smoothie/plugins/interfaces.py", line 20, in callback ifaces = [a for a in Wireless().interfaces() File "/home/xayon/.virtualenvs/smoothie/lib/python3.4/site-packages/wireless/Wireless.py", line 21, in init self._driver_name = self._detectDriver() File "/home/xayon/.virtualenvs/smoothie/lib/python3.4/site-packages/wireless/Wireless.py", line 47, in _detectDriver if len(response) > 0 and 'not found' not in response: TypeError: 'str' does not support the buffer interface

XayOn commented 8 years ago

You should probably add some real tests ;)