test
This commit is contained in:
20
lib/tool_base/__init__.py
Normal file
20
lib/tool_base/__init__.py
Normal file
@@ -0,0 +1,20 @@
|
||||
from framework import logger
|
||||
from .notify import ToolBaseNotify
|
||||
from .file import ToolBaseFile
|
||||
from .aes_cipher import ToolAESCipher
|
||||
from .celery_shutil import ToolShutil
|
||||
from .subprocess import ToolSubprocess
|
||||
from .rclone import ToolRclone
|
||||
from .ffmpeg import ToolFfmpeg
|
||||
from .util import ToolUtil
|
||||
from .hangul import ToolHangul
|
||||
from .os_command import ToolOSCommand
|
||||
from .util_yaml import ToolUtilYaml
|
||||
|
||||
|
||||
def d(data):
|
||||
if type(data) in [type({}), type([])]:
|
||||
import json
|
||||
return '\n' + json.dumps(data, indent=4, ensure_ascii=False)
|
||||
else:
|
||||
return str(data)
|
||||
Reference in New Issue
Block a user