Skip to content

Calling dict() on av.dictionary.Dictionary object cause ValueError #2178

@laggykiller

Description

@laggykiller

Occurs in main branch, not in previously released versions.

from av.dictionary import Dictionary
options = Dictionary({"quality": "95"})
dict(options)

Would cause ValueError: dictionary update sequence element #0 has length 7; 2 is required

Practically, this would cause error here:

self.options = dict(options)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions