Skip to content

Commit

Permalink
Merge pull request #55 from gristlabs/jordigh/mark-python-3
Browse files Browse the repository at this point in the history
config: set PYTHON_VERSION_ON_CREATION=3
  • Loading branch information
jordigh authored Oct 4, 2024
2 parents ec60b0c + 9610833 commit 372a817
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ext/app/electron/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ export async function loadConfig() {
NO_VALIDATION,
path.join(electron.app.getPath("home"), ".grist")
);
validateOrFallback(
"PYTHON_VERSION_ON_CREATION",
(ver) => ["2", "3"].includes(ver),
"3"
);
validateOrFallback(
"TYPEORM_DATABASE",
NO_VALIDATION,
Expand Down

0 comments on commit 372a817

Please sign in to comment.