- fix old problems

This commit is contained in:
2023-08-14 16:06:26 +03:00
parent aa45c87846
commit 2d8d95f3c3
2 changed files with 8 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ import requests
from socket import timeout
from crontab import CronTab
from pathlib import Path
start_system_time = time.time()
start_monotonic_time = time.monotonic()
@@ -171,7 +171,7 @@ class QualtestBackend:
def upload_report(self, report, files) -> str:
# UUID string as result
result = None
result = None
# Log about upload attempt
utils.log_verbose(f"Uploading to {self.address} files {files} and report: {json.dumps(report, indent=4)}")
@@ -303,7 +303,7 @@ class QualtestBackend:
return dict()
def load_audio(self, audio_id: int, output_path: str):
def load_audio(self, audio_id: int, output_path: Path):
utils.log(f'Loading audio with ID: {audio_id}')
try:
# Build query for both V1 & V2 API