Skip to content

Missing comma in shutter regex list #1990

@smathermather

Description

@smathermather

Via this post,

File: opendm/video/srtparser.py

Due to a missing comma, two regex patterns are unintentionally concatenated into a single string:

shutter = match_single([
    "shutter : \d+/(\d+\.?\d*)"
    "SS (\d+\.?\d*)"
], line)

Suggested fix:

shutter = match_single([
    "shutter : \d+/(\d+\.?\d*)",
    "SS (\d+\.?\d*)"
], line)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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