更新 notfound.py

删除 单测模式
This commit is contained in:
于小丘
2025-01-30 12:36:19 +08:00
committed by GitHub
parent 19a4ea0e47
commit bf378bdfbd

View File

@@ -38,3 +38,6 @@ def create() -> None:
ui.button('返回首页',
on_click=lambda: ui.navigate.to('/')) \
.classes('items-center w-full').props('rounded')
if __name__ not in {"__main__", "__mp_main__"}:
raise Exception('不支持单测模式请从main.py启动')