Skip to content

Absolute paths in samples #34

@HolQue

Description

@HolQue

The examples in

python-jsonpreprocessor\sample

contain an absolute Windows specific path:

sys.path.append('D:\B\python-jsonpreprocessor')

I suggest to implement in a more universal way:

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "./json")))

Metadata

Metadata

Labels

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions