21 lines
709 B
Python
21 lines
709 B
Python
import os
|
|
|
|
print("--- Content of /app/admin_templates.py ---")
|
|
try:
|
|
with open("/app/admin_templates.py", "r") as f:
|
|
print(f.read())
|
|
except FileNotFoundError:
|
|
print("admin_templates.py not found in /app")
|
|
print("-----------------------------------------")
|
|
|
|
print("Attempting to import oidc_server.py...")
|
|
try:
|
|
# This will attempt to import admin_templates implicitly
|
|
import oidc_server
|
|
print("Successfully imported oidc_server.py (and admin_templates.py).")
|
|
except SyntaxError as e:
|
|
print(f"SyntaxError during import: {e}")
|
|
except ImportError as e:
|
|
print(f"ImportError during import: {e}")
|
|
except Exception as e:
|
|
print(f"An unexpected error occurred during import: {e}") |