Skip to content

Fix sure all paths work on Windows #17

Description

@gregelin

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions