Skip to content

Make Universal Path Function in system.py #4

@benevolent0377

Description

@benevolent0377

system.py was originally created for Wanderer, and it shows.

The code is not versatile and has many elements that should not be hard coded, like the functions:

  • getLogPath()
  • getDataPath()

and so on...

Make the change so that that paths can be returned from a single function called getPathofFolder(folderName).

  • it should take the name of the folder you want the path for, and it should look for it in the root directory
  • so far, the only paths I've needed to get from these functions have been in the root directory, so as such, the function will inly look for these folders in the root directory.

That's all.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions