This commit is contained in:
parent
d4014ba274
commit
7bb6595394
1 changed files with 4 additions and 1 deletions
|
@ -1,9 +1,11 @@
|
|||
# SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
from urllib.parse import urlparse, urlunparse
|
||||
import logging
|
||||
|
||||
import requests
|
||||
|
||||
LOG_FILE = "ap.log"
|
||||
|
||||
|
||||
|
@ -28,6 +30,7 @@ logger = configure_logger()
|
|||
|
||||
|
||||
def upload_logs_to_ftest(success: bool, logs: str):
|
||||
from .env import FTEST_HOST, FTEST_AUTH
|
||||
parsed_ftest_host = urlparse(FTEST_HOST)
|
||||
ftest = urlunparse(
|
||||
(
|
||||
|
|
Loading…
Reference in a new issue