chore: Remove redundant cast
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/static_analysis Pipeline failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/manual/lint Pipeline was successful
ci/woodpecker/manual/static_analysis Pipeline failed
ci/woodpecker/manual/test Pipeline failed
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/static_analysis Pipeline failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/manual/lint Pipeline was successful
ci/woodpecker/manual/static_analysis Pipeline failed
ci/woodpecker/manual/test Pipeline failed
This commit is contained in:
parent
ddaa75f44b
commit
7a69bd509f
2 changed files with 3 additions and 2 deletions
|
|
@ -41,7 +41,9 @@ def start(
|
|||
try:
|
||||
annotations.extend(extractor.run(fname))
|
||||
except ExtractionError as e:
|
||||
logger.error(f"File extraction errors for {file}. File may be damaged.\n{e}")
|
||||
logger.error(
|
||||
f"File extraction errors for {file}. File may be damaged.\n{e}"
|
||||
)
|
||||
|
||||
if not file_available:
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue