mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-01-18 00:42:38 +00:00
[svn r8186] Made the url file lookup work
This commit is contained in:
parent
dfbdb46a1b
commit
3dbd762944
@ -21,7 +21,12 @@ def listdir(*path):
|
||||
#Ignore non-files and non-directories
|
||||
return l
|
||||
except:
|
||||
return urllib.urlopen(settings.FILES + "listdir/" + reduce(urljoin, strippedpath))
|
||||
if strippedpath:
|
||||
c = reduce(urljoin, strippedpath)
|
||||
else:
|
||||
c = ""
|
||||
print strippedpath, c
|
||||
return urllib.urlopen(settings.FILES + "listdir/" + c)
|
||||
|
||||
|
||||
def readFile(*path):
|
||||
|
Loading…
Reference in New Issue
Block a user