Try to fix 1251 filepaths on Windows
[findit] / src / files / search.py
index 707f752..c94adf7 100755 (executable)
@@ -65,6 +65,8 @@ class Abstraction(object):
                 # Store only necessary files
                 for mask in file_filter:
                     if fnmatch(fname, mask):
+                        # Crutch for non-unicode names
+                        #flpath = unicode(join(dirpath, fname), '1251')
                         flpath = join(dirpath, fname)
                         # Show current path
                         self.presentation.show_current_status(flpath)