mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 17:59:19 +02:00
speedgolf
in some envs (unsure which), importlib.resources is an expensive import; drop it when we know it's useless
This commit is contained in:
parent
21db8833dc
commit
b2aaf40a3e
6 changed files with 13 additions and 1 deletions
|
@ -413,6 +413,9 @@ def run_i(ld):
|
|||
for x in ld:
|
||||
sys.path.insert(0, x)
|
||||
|
||||
e = os.environ
|
||||
e["PRTY_NO_IMPRESO"] = "1"
|
||||
|
||||
from copyparty.__main__ import main as p
|
||||
|
||||
p()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue