From 3ea61ffa5d18da8d9f3c49a164c86fba1fcdae64 Mon Sep 17 00:00:00 2001 From: Devoalda Date: Tue, 31 Oct 2023 20:05:29 +0800 Subject: [PATCH] feature(env update): --- safeshare/safeshare_vdb/server.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/safeshare/safeshare_vdb/server.py b/safeshare/safeshare_vdb/server.py index 682ee22..5c816a9 100644 --- a/safeshare/safeshare_vdb/server.py +++ b/safeshare/safeshare_vdb/server.py @@ -10,9 +10,8 @@ import requests import boto3 as boto # 1.28.68 -# TotalVirus API key -environ.Env.read_env('./.env') -api = environ.Env().str('API_TOKEN') +# VirusTotal API key +api = os.environ.get('VIRUSTOTAL_API_KEY') # dynamo db instance session = boto.Session(