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

Use absolut Path for config.ini #2

Closed
rgruebel opened this issue Jan 3, 2017 · 1 comment
Closed

Use absolut Path for config.ini #2

rgruebel opened this issue Jan 3, 2017 · 1 comment
Assignees

Comments

@rgruebel
Copy link

rgruebel commented Jan 3, 2017

If you run the service from a working directory other than the connector.py path we need an aboslout path to the config.ini.
For now i solved it like this:
os.path.join(os.path.abspath(os.path.dirname(__file__)), 'config.ini')

@nohum nohum self-assigned this Jan 6, 2017
@nohum
Copy link
Owner

nohum commented Jan 6, 2017

Thanks for reporting! I added your solution.

nohum added a commit that referenced this issue Jan 6, 2017
@nohum nohum closed this as completed Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants