Skip to content

Bug in qswitch_driver #1

Description

@dottcake

if all the relays are open, the switch_state is (@) and the functions close_relays and open_relays (and ._effectuate) will fail because:

the code line:
currently = self._channel_list_to_state(self._state)

will raise a ValueError: Expected channel sequence, got ['']

To reproduce the error, open all the relays, try to close a random relay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions