bugfix
This commit is contained in:
parent
7ac39cd2fc
commit
dd3fc6e37a
@ -53,7 +53,7 @@ class Url2File:
|
|||||||
ourl = url
|
ourl = url
|
||||||
url = url.split('?')[0]
|
url = url.split('?')[0]
|
||||||
real_path = self.url2ospath(url)
|
real_path = self.url2ospath(url)
|
||||||
if os.path.isdir(real_path):
|
if os.path.isdir(real_path) and self.indexes:
|
||||||
for idx in self.indexes:
|
for idx in self.indexes:
|
||||||
p = os.path.join(real_path,idx)
|
p = os.path.join(real_path,idx)
|
||||||
if os.path.isfile(p):
|
if os.path.isfile(p):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user