Remove config.SHA1 in favour of build_info.SHA1

This commit is contained in:
Carlos Quintana 2022-05-12 16:26:04 +02:00
parent 9959848d74
commit 975eacc969
No known key found for this signature in database
GPG Key ID: 15E73DCC410679F8
3 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,6 @@ import os
import random
import socket
import string
from app import build_info
from ast import literal_eval
from typing import Callable, List
from urllib.parse import urlparse
@ -10,7 +9,6 @@ from urllib.parse import urlparse
from dotenv import load_dotenv
SHA1 = build_info.SHA1
ROOT_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))

View File

@ -1,4 +1,4 @@
from app.config import SHA1
from app.build_info import SHA1
from app.monitor.base import monitor_bp

View File

@ -41,12 +41,12 @@ from app.admin_model import (
)
from app.api.base import api_bp
from app.auth.base import auth_bp
from app.build_info import SHA1
from app.config import (
DB_URI,
FLASK_SECRET,
SENTRY_DSN,
URL,
SHA1,
PADDLE_MONTHLY_PRODUCT_ID,
FLASK_PROFILER_PATH,
FLASK_PROFILER_PASSWORD,