Skip to content

Commit 372a817

Browse files
authored
Merge pull request #55 from gristlabs/jordigh/mark-python-3
config: set PYTHON_VERSION_ON_CREATION=3
2 parents ec60b0c + 9610833 commit 372a817

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ext/app/electron/config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ export async function loadConfig() {
8686
NO_VALIDATION,
8787
path.join(electron.app.getPath("home"), ".grist")
8888
);
89+
validateOrFallback(
90+
"PYTHON_VERSION_ON_CREATION",
91+
(ver) => ["2", "3"].includes(ver),
92+
"3"
93+
);
8994
validateOrFallback(
9095
"TYPEORM_DATABASE",
9196
NO_VALIDATION,

0 commit comments

Comments
 (0)