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

Looking for the config file in other default directories #10

Open
HughMacdonald opened this issue Mar 21, 2011 · 0 comments
Open

Looking for the config file in other default directories #10

HughMacdonald opened this issue Mar 21, 2011 · 0 comments

Comments

@HughMacdonald
Copy link

I've got the code in the following directory structure:

conf/shotgunEventDaemon.conf
scripts/shotgunEventDaemon.py
script/daemonizer.py
plugins/whatever.py

Could I request that _getConfigPath() has the following line instead of the current "paths=" that is has (this is in the format used in gh-perPluginPath)

paths = ['/etc', os.path.join(os.path.dirname(file), "../conf/"), os.path.dirname(file)]

This will cause it to also look for the config file in the same folder as the script, and also with the kind of directory structure that I'm using.

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