diff --git a/files/file_list.py b/files/file_list.py index 10bcc57..c55ef37 100755 --- a/files/file_list.py +++ b/files/file_list.py @@ -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: