editors/FileManagementPanel.py
changeset 1847 6198190bc121
parent 1768 691083b5682a
child 1853 47a3f39bead0
--- a/editors/FileManagementPanel.py	Tue Oct 03 16:31:31 2017 +0300
+++ b/editors/FileManagementPanel.py	Thu Oct 05 16:38:49 2017 +0300
@@ -148,7 +148,7 @@
     def OnDeleteButton(self, event):
         filepath = self.ManagedDir.GetPath()
         if os.path.isfile(filepath):
-            folder, filename = os.path.split(filepath)
+            _folder, filename = os.path.split(filepath)
 
             dialog = wx.MessageDialog(self,
                                       _("Do you really want to delete the file '%s'?") % filename,
@@ -171,9 +171,9 @@
 
     def CopyFile(self, src, dst):
         if os.path.isfile(src):
-            src_folder, src_filename = os.path.split(src)
+            _src_folder, src_filename = os.path.split(src)
             if os.path.isfile(dst):
-                dst_folder, dst_filename = os.path.split(dst)
+                dst_folder, _dst_filename = os.path.split(dst)
             else:
                 dst_folder = dst