mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-20 06:10:59 +00:00
Remove unnecessary call to url2pathname().
This commit is contained in:
parent
ae109ed994
commit
78ea8d5594
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ class FileUrl (urlbase.UrlBase):
|
|||
if self.is_directory():
|
||||
self.set_result(_("directory"))
|
||||
else:
|
||||
url = urllib.url2pathname(fileutil.pathencode(self.url))
|
||||
url = fileutil.pathencode(self.url)
|
||||
self.url_connection = urllib2.urlopen(url)
|
||||
self.check_case_sensitivity()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue