1
0
Fork 0
mirror of synced 2024-12-25 00:03:20 -05:00

Refactor imports

This commit is contained in:
Wu Tingfeng 2022-11-24 19:38:45 +08:00
parent 48e761de76
commit 92ee19d643
No known key found for this signature in database

View file

@ -13,7 +13,6 @@ import urllib.request
import zipfile
from io import BytesIO
from os import path
from shutil import copytree
# --- Globals ----------------------------------------------
PLUGINS = """
@ -107,7 +106,7 @@ if __name__ == "__main__":
temp_directory = tempfile.mkdtemp()
if not path.isdir(SOURCE_DIR):
copytree(FALLBACK_SOURCE_DIR, SOURCE_DIR)
shutil.copytree(FALLBACK_SOURCE_DIR, SOURCE_DIR)
try:
if futures: