more changes
This commit is contained in:
@@ -181,7 +181,7 @@ def get_folder_contents(db,path):
|
|||||||
files=[]
|
files=[]
|
||||||
db.execute("SELECT file FROM list where file LIKE ?",(path+'%',))
|
db.execute("SELECT file FROM list where file LIKE ?",(path+'%',))
|
||||||
for row in db:
|
for row in db:
|
||||||
base=row[0].replace(path,'',1)
|
base=unicode(row[0],'UTf-8').replace(path,'',1)
|
||||||
if base.find('/')==-1:
|
if base.find('/')==-1:
|
||||||
files.append(base)
|
files.append(base)
|
||||||
return files
|
return files
|
||||||
|
|||||||
Reference in New Issue
Block a user