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

Support multiple year's JSON config #713

Closed
tunetheweb opened this issue Apr 5, 2020 · 0 comments · Fixed by #712
Closed

Support multiple year's JSON config #713

tunetheweb opened this issue Apr 5, 2020 · 0 comments · Fixed by #712
Labels
development Building the Almanac tech stack

Comments

@tunetheweb
Copy link
Member

I presume we're going to start on 2020 edition soon. On the most we're set up well for it with folder structures and therefore templating set up for years.

However we have a few things to update including hardcoding 2019 in config.py

  # TODO(rviscomi): Dynamically handle multiple annual configs.
  with open('config/2019.json', 'r') as config_file:
    config_json['2019'] = json.load(config_file)
@tunetheweb tunetheweb added the development Building the Almanac tech stack label Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Building the Almanac tech stack
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant