take variables from .env
This commit is contained in:
1 parent
b64c743108
commit
22260907cf
1 file changed
+3
@@ -16,6 +16,9 @@ import os
|
||||
import sys
|
||||
import requests
|
||||
from collections import defaultdict
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
|
||||
BASE_URL = os.getenv("GITEA_BASE_URL", "").rstrip("/")
|
||||
TOKEN = os.getenv("GITEA_TOKEN")
|
||||
|
||||
Reference in new issue
Block a user