- fix error on None value

This commit is contained in:
2023-09-11 12:18:08 +03:00
parent ed3b91d8c1
commit ef9ac651f9

View File

@@ -92,7 +92,7 @@ def upload_results():
# Path to audio
path_audio = t[1]
utils.log(f'Found {path_report.name} and {path_audio.name} files.')
utils.log(f'Found {t} report pair.')
if path_report is not None and path_report.exists():
try:
with open(path_report, 'rt') as f: