Skip to content

Bug in makeSptFileName() #233

@sean-lockwood

Description

@sean-lockwood

Code will always evaluate False because the os.path.isfile function is not called:

if not os.path.isfile:
    sptfile = "notfound"

https://github.com/spacetelescope/calcos/blob/master/calcos/timeline.py#L229

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