Skip to content

Commit

Permalink
Merge pull request #18485 from meeseeksmachine/auto-backport-of-pr-18…
Browse files Browse the repository at this point in the history
…475-on-v3.3.x

Backport PR #18475 on branch v3.3.x (BF: ensure exception caught if no kpeswitch)
  • Loading branch information
dopplershift committed Sep 15, 2020
2 parents 7e810d1 + 98e64ba commit c23f81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/dviread.py
Expand Up @@ -1080,7 +1080,7 @@ def find_tex_file(filename, format=None):
cmd += [filename]
try:
result = cbook._check_and_log_subprocess(cmd, _log, **kwargs)
except RuntimeError:
except (FileNotFoundError, RuntimeError):
return ''
return result.rstrip('\n')

Expand Down

0 comments on commit c23f81e

Please sign in to comment.