summaryrefslogtreecommitdiff
path: root/coverage/html.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/html.py')
-rw-r--r--coverage/html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/html.py b/coverage/html.py
index b0eff5f2..34bf6a61 100644
--- a/coverage/html.py
+++ b/coverage/html.py
@@ -281,7 +281,7 @@ class HtmlStatus(object):
status = pickle.load(fstatus)
finally:
fstatus.close()
- except IOError:
+ except (IOError, ValueError):
usable = False
else:
usable = True