Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sure all paths work on Windows #17

Open
gregelin opened this issue Oct 10, 2016 · 0 comments
Open

Fix sure all paths work on Windows #17

gregelin opened this issue Oct 10, 2016 · 0 comments

Comments

@gregelin
Copy link

File paths need to be checked for working on windows.

For example, in opencontrolfiles, the logging path may assume Unix systems. See around line 110:

# create logger with 'opencontrolfiles'
logger = logging.getLogger('opencontrolfiles')
logger.setLevel(logging.DEBUG)
# create file handler which logs even debug messages
# TODO - make this work for windows machines
fh = logging.FileHandler("{}/{}".format(os.path.dirname(os.path.realpath(__file__)), "../output/logs/opencontrolfiles.log"))
fh.setLevel(logging.DEBUG)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant