Skip to content

SyntaxError in mode.py line 230 #211

@SANCHEZJOSE

Description

@SANCHEZJOSE

hello digi
when running in python3:

from digi.xbee.devices import XBeeDevice

I get the following error:

  File "...\Python\Python39\lib\site-packages\digi\xbee\models\mode.py", line 230
    return sum(op.code for op in options if lambda option: option != cls.EXPLICIT)
                                            ^
SyntaxError: invalid syntax

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions