mirror of
https://github.com/9001/copyparty.git
synced 2026-02-27 05:53:11 -07:00
Update __init__.py
Signed-off-by: ed <s@ocv.me>
This commit is contained in:
parent
d275679c7a
commit
eecb1b13e7
|
|
@ -44,10 +44,10 @@ ANYWIN = WINDOWS or sys.platform in ["msys", "cygwin"]
|
||||||
|
|
||||||
MACOS = platform.system() == "Darwin"
|
MACOS = platform.system() == "Darwin"
|
||||||
|
|
||||||
EXE = bool(getattr(sys, "frozen", False))
|
|
||||||
|
|
||||||
GRAAL = platform.python_implementation() == "GraalVM"
|
GRAAL = platform.python_implementation() == "GraalVM"
|
||||||
|
|
||||||
|
EXE = bool(getattr(sys, "frozen", False))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
CORES = len(os.sched_getaffinity(0))
|
CORES = len(os.sched_getaffinity(0))
|
||||||
except:
|
except:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue