mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-14 15:26:06 +08:00
Add: fake module PIL for webui (#4374)
* Add: fake module PIL for webui * Fix: Load runtime before module PIL * Upd: Error message of MAA loading failure * Upd: Adjust timing of import fake module
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
import argparse
|
||||
import sys
|
||||
import json
|
||||
import queue
|
||||
import threading
|
||||
import time
|
||||
import queue
|
||||
import argparse
|
||||
import threading
|
||||
|
||||
from datetime import datetime
|
||||
from functools import partial
|
||||
from typing import Dict, List, Optional
|
||||
|
||||
# Import fake module before import pywebio to avoid importing unnecessary module PIL
|
||||
from module.webui.fake_pil_module import import_fake_pil_module
|
||||
import_fake_pil_module()
|
||||
|
||||
from pywebio import config as webconfig
|
||||
from pywebio.input import file_upload, input, input_group, select
|
||||
from pywebio.output import (
|
||||
|
||||
Reference in New Issue
Block a user