mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-18 23:10:32 +00:00
Fix for moved functions.
This commit is contained in:
parent
7cac6e6826
commit
da0ef8e8ea
1 changed files with 2 additions and 3 deletions
|
|
@ -37,10 +37,9 @@ from .settings import Settings
|
|||
from .recentdocs import RecentDocumentModel
|
||||
from .projects import openproject, saveproject, loadproject, ProjectExt
|
||||
from .. import configuration, checker, director, get_link_pat, \
|
||||
strformat, fileutil, LinkCheckerError, i18n
|
||||
strformat, fileutil, LinkCheckerError, i18n, httputil
|
||||
from ..containers import enum
|
||||
from .. import url as urlutil
|
||||
from ..checker import httpheaders
|
||||
|
||||
|
||||
DocBaseUrl = "qthelp://bfk.app.linkchecker/doc/"
|
||||
|
|
@ -534,7 +533,7 @@ Version 2 or later.
|
|||
msg = u"An error occurred retreiving URL `%s': %s." % (url, info)
|
||||
self.editor.setText(msg)
|
||||
else:
|
||||
content_type = httpheaders.get_content_type(info)
|
||||
content_type = httputil.get_content_type(info)
|
||||
if not content_type:
|
||||
# read function for content type guessing
|
||||
read = lambda: data
|
||||
|
|
|
|||
Loading…
Reference in a new issue