Browse Source

Merge pull request #22 from cuu/master

fix fav list remove bug
clockworkpi 6 years ago
parent
commit
b702e1fc7d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sys.py/UI/Emulator/fav_list_page.py

+ 1 - 1
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()