Skip to content

Commit 28a2c9f

Browse files
committed
fix error in macOS
1 parent 8907190 commit 28a2c9f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/check_spell.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99

1010
import pospell
1111

12+
# fix multiprocessing error loop on MacOS
13+
if sys.platform == "darwin":
14+
import multiprocessing
15+
multiprocessing.set_start_method("fork")
16+
1217
# Read custom dictionaries
1318
entries = set()
1419
for filename in Path("dictionaries").glob("*.txt"):

0 commit comments

Comments
 (0)