Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ichard26 committed Sep 25, 2022
1 parent e7927fe commit d3bef04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/black/__init__.py
Expand Up @@ -1375,6 +1375,8 @@ def patch_click() -> None:


def patched_main() -> None:
# PyInstaller patches multiprocessing to need freeze_support() even in non-Windows
# environments so just assume we always need to call it if frozen.
if getattr(sys, "frozen", False):
from multiprocessing import freeze_support

Expand Down

0 comments on commit d3bef04

Please sign in to comment.