- fix error on None value
This commit is contained in:
parent
ed3b91d8c1
commit
ef9ac651f9
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue