Remove legacy test script and enhance main application with WeChat server and menu management features. Added commands for starting the WeChat callback server and managing WeChat menus, along with necessary imports and error handling. Updated requirements to include Flask for the WeChat server functionality.
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
包的main入口,使项目可以直接通过 python -m gx_gp_monitor 运行
|
||||
"""
|
||||
|
||||
from .main import main
|
||||
try:
|
||||
from .main import main
|
||||
except ImportError:
|
||||
from main import main
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user