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

Output location passed in is wrong #10

Open
JackM25 opened this issue Feb 24, 2022 · 0 comments
Open

Output location passed in is wrong #10

JackM25 opened this issue Feb 24, 2022 · 0 comments

Comments

@JackM25
Copy link
Contributor

JackM25 commented Feb 24, 2022

It should be

def repl():
    while True:
        print("Please choose an option:")
        data_files = get_data_files()
        (action, param) = get_action(data_files)
        refresh_source()

        if action == "singleFile":
            run_for_file(get_file_path(param), os.path.join(OUTPUT_LOCATION, param))
        elif action == "allFiles":
            for a_file in data_files:
                run_for_file(get_file_path(a_file), os.path.join(OUTPUT_LOCATION, a_file))
        elif action == "zip":
            zip_project(OUTPUT_LOCATION)
        elif action == "allFilesAndZip":
            for a_file in data_files:
                run_for_file(get_file_path(a_file), os.path.join(OUTPUT_LOCATION, a_file))
            zip_project(OUTPUT_LOCATION)
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

1 participant