diff --git a/pywxdump/api/remote_server.py b/pywxdump/api/remote_server.py index 5a9bfaf0..b9120e0c 100644 --- a/pywxdump/api/remote_server.py +++ b/pywxdump/api/remote_server.py @@ -22,8 +22,7 @@ get_conf_local_wxid from pywxdump import get_wx_info, WX_OFFS, batch_decrypt, BiasAddr, merge_db, decrypt_merge, merge_real_time_db -from pywxdump.db import DBHandler, download_file, export_csv, export_json -from pywxdump.db.utils import dat2img +from pywxdump.db import DBHandler, download_file, export_csv, export_json, dat2img # app = Flask(__name__, static_folder='../ui/web/dist', static_url_path='/') diff --git a/pywxdump/db/__init__.py b/pywxdump/db/__init__.py index 8f94f467..f8057673 100644 --- a/pywxdump/db/__init__.py +++ b/pywxdump/db/__init__.py @@ -7,7 +7,7 @@ # ------------------------------------------------------------------------------- import pandas as pd -from .utils import download_file +from .utils import download_file, dat2img from .dbFavorite import FavoriteHandler from .dbMSG import MsgHandler diff --git a/pywxdump/db/utils/__init__.py b/pywxdump/db/utils/__init__.py index 87f9fdfa..371bcff8 100644 --- a/pywxdump/db/utils/__init__.py +++ b/pywxdump/db/utils/__init__.py @@ -7,4 +7,4 @@ # ------------------------------------------------------------------------------- from ._loger import db_loger from .common_utils import timestamp2str, xml2dict, silk2audio, bytes2str, get_md5, name2typeid, typeid2name, \ - type_converter, match_BytesExtra, db_error, download_file,dat2img + type_converter, match_BytesExtra, db_error, download_file, dat2img