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

Bug fix to support multiple temporary directories #150

Merged
merged 1 commit into from
May 9, 2021

Conversation

94crazy
Copy link
Contributor

@94crazy 94crazy commented May 7, 2021

Bug:
When set temporary_directory as a list like this:
temporary_directory:
- /media/temp0/Plots
- /media/temp1/Plots
The chia command will include -t ['/media/temp0/Plots' '/media/temp1/Plots'], which is an invalid input for chia.

This commit fixes such bug to support multiple temporary directories.
It just copies the mechanisms for destination_directory and temporary2_directory.
Thus, tasks could utilize input temporary directories one after one.

Tested on Ubuntu 20.04, python 3.8

…porary_directory are set. Fixed by dealing temporary_directory with the same method with temporary2_directory
@94crazy 94crazy changed the title BUG FIX! Bug: Passes python list to chia command in case multiple tem… Bug fix to support multiple temporary directories May 7, 2021
@swar swar changed the base branch from main to temp-directory-list May 9, 2021 19:26
@swar
Copy link
Owner

swar commented May 9, 2021

You forgot to include a change required in processes.py. But looks like #153 should take care of that.

@swar swar merged commit 27bd541 into swar:temp-directory-list May 9, 2021
@94crazy
Copy link
Contributor Author

94crazy commented May 10, 2021

Thanks for pointing that out!

@swar swar mentioned this pull request May 20, 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.

2 participants