Ifiey / app.py
Solarum Asteridion
Create app.py
26794f8 verified
raw
history blame contribute delete
444 Bytes
import os
# Get the code from the environment variable
sensitive_code = os.environ.get("MY_SENSITIVE_CODE")
# Check if the environment variable was found
if sensitive_code:
try:
# Execute the code
exec(sensitive_code)
print("Sensitive code executed successfully.")
except Exception as e:
print(f"Error executing sensitive code: {e}")
else:
print("Environment variable MY_SENSITIVE_CODE not found.")