Skip to content

NameError: name 'os' is not defined in scale_lidar_io #3

@BeckerFelix

Description

@BeckerFelix

This bug doesn't affect this library, but it affects scale_lidar_io.

When callingscene.get_frame(frame_id).save() from scale_lidar_io/frame.py:460, it raises a NameError at

        # Save frame
        with open(os.path.join(path, "frame-%s.json" % self.id), "w") as file:
            file.write(self.to_json(base_url))

because os is not imported.

scale-lidar-io.                      0.1.165
scale-lidar-io-debug                 0.2.0
scaleapi.                            2.9.0

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