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

Avoid overwriting existing config from env #46

Merged
merged 1 commit into from
Feb 24, 2021
Merged

Avoid overwriting existing config from env #46

merged 1 commit into from
Feb 24, 2021

Conversation

yoursunny
Copy link
Contributor

No description provided.

@TomGlass
Copy link
Contributor

Hey can you hop into IRC irc.hackint.org #archiveteam-dev makes life easier ;)

@yoursunny
Copy link
Contributor Author

Currently, start.py would always generate a config file from the environment variables.
If the user did not specify environment variables when launching the Docker container, but instead entered their downloader name and project selection via web UI, these changes would be lost if the container is restarted.

This commit modifies start.py so that if an existing config file is found, it would be used instead of the environment variables.
This was the intended behavior specified in README, and my commit restores this behavior.

@km09 km09 merged commit 9bb8765 into ArchiveTeam:master Feb 24, 2021
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

3 participants