Fix Word file check plugin.

This commit is contained in:
Bastian Kleineidam 2014-07-15 22:39:41 +02:00
parent b646293fd6
commit 37664ea8a4
2 changed files with 4 additions and 1 deletions

View file

@ -29,6 +29,8 @@ Fixes:
Closes: GH bug #519
- checking: Use user-supplied authentication and proxies when requestiong
robot.txt.
- plugins: Fix Word file check plugin.
Closes: GH bug #530
9.2 "Rick and Morty" (released 23.4.2014)

View file

@ -117,7 +117,8 @@ class WordParser(_ParserPlugin):
def check(self, url_data):
"""Parse Word data."""
filename = get_temp_filename()
content = url_data.get_content()
filename = get_temp_filename(content)
# open word file and parse hyperlinks
try:
app = get_word_app()