- fix error on None value

This commit is contained in:
Dmytro Bogovych 2023-09-11 12:18:08 +03:00
parent ed3b91d8c1
commit ef9ac651f9
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ def upload_results():
# Path to audio # Path to audio
path_audio = t[1] 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(): if path_report is not None and path_report.exists():
try: try:
with open(path_report, 'rt') as f: with open(path_report, 'rt') as f: