mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-11 06:27:23 +08:00
11 lines
164 B
Python
11 lines
164 B
Python
import multiprocessing
|
|
|
|
from .manager import *
|
|
|
|
__all__ = [
|
|
"IS_MAIN_PROCESS"
|
|
]
|
|
|
|
IS_MAIN_PROCESS = multiprocessing.current_process().name == "MainProcess"
|
|
|