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

Ensure LOG_DIR default path is valid #162

Merged
merged 2 commits into from
Nov 7, 2015

Conversation

warhammerkid
Copy link
Contributor

It appears as though the intended path for the LOG_DIR was not ./~.dataduct but instead ~/.dataduct.

@@ -22,7 +22,7 @@ def logger_configuration():
raise Exception('logging section is missing in config')

log_directory = os.path.expanduser(config.logging.get(
'LOG_DIR', '~' + CONFIG_DIR))
'LOG_DIR', '~/' + CONFIG_DIR))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change this to use os.path.join instead ?

@sb2nov
Copy link
Contributor

sb2nov commented Nov 7, 2015

Thanks for catching this.

sb2nov added a commit that referenced this pull request Nov 7, 2015
@sb2nov sb2nov merged commit 5351c44 into coursera:develop Nov 7, 2015
@sb2nov
Copy link
Contributor

sb2nov commented Nov 7, 2015

I'll make a new release soon.

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

Successfully merging this pull request may close these issues.

None yet

2 participants