python-react icon indicating copy to clipboard operation
python-react copied to clipboard

Optional path checks

Open markfinger opened this issue 8 years ago • 1 comments

The path checks in the python side are not overly useful as the node process will detect the same issue when it tries to import the file. That being said, the python errors are more explicit and will be more familiar for python folk.

Primary benefit of this would be a saner setup for docker folk who have some eccentric mount paths. See #75

Recommend adding an optional setting that removes the os.exists checks in https://github.com/markfinger/python-react/blob/1bad117ab36ced678b3c99b876b5e3eb7baa0750/react/render.py#L14

markfinger avatar Apr 06 '17 21:04 markfinger

I don't have any need for this myself, so I'm happy to wait out a possible PR.

If someone would like to take this on, you'll need to tweak the aforementioned line in render.py, and you'll need to add another setting in react/conf.py

markfinger avatar Apr 06 '17 21:04 markfinger