forked from bot/app
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"
|
|
|