From d9dc3e6300d962daca72851dd48ab818a04e2f44 Mon Sep 17 00:00:00 2001 From: cuu Date: Fri, 1 Jun 2018 22:02:46 +0800 Subject: [PATCH] fix fav list remove bug --- sys.py/UI/Emulator/fav_list_page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys.py/UI/Emulator/fav_list_page.py b/sys.py/UI/Emulator/fav_list_page.py index 3729eba..2afeb0d 100644 --- a/sys.py/UI/Emulator/fav_list_page.py +++ b/sys.py/UI/Emulator/fav_list_page.py @@ -393,7 +393,7 @@ class FavListPage(Page): #delete directly without confirm dialog stats = os.stat(cur_li._Path) - os.chown(self._FileName, stats.st_uid,stats.st_uid) ## normally uid and gid should be the same + os.chown(cur_li._Path, stats.st_uid,stats.st_uid) ## normally uid and gid should be the same self._Screen._MsgBox.SetText("Deleting...") self._Screen._MsgBox.Draw() self._Screen.SwapAndShow()