mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-11 08:07:15 +00:00
[svn r8186] Made the url file lookup work
This commit is contained in:
@@ -21,7 +21,12 @@ def listdir(*path):
|
|||||||
#Ignore non-files and non-directories
|
#Ignore non-files and non-directories
|
||||||
return l
|
return l
|
||||||
except:
|
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):
|
def readFile(*path):
|
||||||
|
|||||||
Reference in New Issue
Block a user