Skip to content

Python 3.9 Issue #10

@royord

Description

@royord

Running

from pppd import PPPConnection

ppp = PPPConnection(call='webcam_num0')
print(ppp.connected())

Using Python 3.9 gives the following error.

Traceback (most recent call last):
  File "/home/pi/ppp_py.py", line 3, in <module>
    ppp = PPPConnection(call='webcam_num0')
  File "/usr/local/lib/python3.9/dist-packages/pppd.py", line 82, in __init__
    self.output += self.proc.stdout.read()
TypeError: can't concat NoneType to bytes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions