mirror of
https://github.com/sotam0316/drawNET.git
synced 2026-04-24 19:48:36 +09:00
diagnostics: add module loading info
This commit is contained in:
@@ -17,8 +17,15 @@ def create_app():
|
|||||||
app.register_blueprint(main_bp)
|
app.register_blueprint(main_bp)
|
||||||
app.register_blueprint(api_bp)
|
app.register_blueprint(api_bp)
|
||||||
|
|
||||||
|
# Diagnostic: Check if loaded from source or binary
|
||||||
|
import routes.api_routes as ar
|
||||||
|
import logic.license_manager as lm
|
||||||
|
print(f"[*] API Routes Loaded From: {ar.__file__}")
|
||||||
|
print(f"[*] License Manager Loaded From: {lm.__file__}")
|
||||||
|
|
||||||
return app
|
return app
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app = create_app()
|
app = create_app()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user