crowdroute / test_env.py
UAVDETECTION's picture
Initial CrowdRoute API deployment
90776a1
raw
history blame contribute delete
196 Bytes
from dotenv import load_dotenv
import os
load_dotenv()
key = os.getenv('OPENWEATHER_API_KEY')
if key:
print('Key found: ' + key[:6] + '...')
else:
print('Key is None - .env not loading')