Skip to content

Use os.path or pathlib to work with paths #7

Description

@humphd

In https://github.com/abatomunkuev/static_site_generator/blob/master/ssg.py#L128 you are working with paths as strings. This will break in lots of instances (e.g., cross-platform path differences). A better solution is to use built-in path handling modules:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions