Skip to content

Wrong parsing of project_paraent_name #1

Description

@ERT-Kim

For getting project_parent_name, following two lines of code are used.

project_parent_name = project_name[:-len('-dists')]
project_parent_name = project_parent_name[:project_parent_name.rindex('-')]

I think the second line is redundant code causing error. (ValueError: substring not found)
Distribution files are compiled under 'GameName-dist' folder as 'GameName-market', so I think it will work well with the first line (and it really is, as I have tried)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions