leftovers from p3 conversion
This commit is contained in:
@@ -325,7 +325,7 @@ def get_folder_contents(db,path):
|
||||
db.execute("SELECT file FROM list where file LIKE ?",(path+'%',))
|
||||
for row in db:
|
||||
try:
|
||||
base=row[0].decode('utf-8').replace(path,'',1)
|
||||
base=row[0].replace(path,'',1)
|
||||
except UnicodeDecodeError:
|
||||
print(row[0]+" is giving me trouble.")
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user