Skip to content

Fix the bug in hands_on/bug_hunt/file_datastore.py #1

@pberkes

Description

@pberkes

The FileDatastore is initialized using a base_path, and then it should be able to read/write files in it, given a path relative to the base path.

The current code works correctly when base_path is an absolute path but not when it's a relative path!

Go to hands_on/bug_hunt and run file_datastore.py to reproduce the bug. Use the debugger to find the bug the fix it.

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