Try to fix 1251 filepaths on Windows
authorEugene Gagarin <mosfet07@ya.ru>
Tue, 19 May 2009 09:15:54 +0000 (13:15 +0400)
committerEugene Gagarin <mosfet07@ya.ru>
Tue, 19 May 2009 09:15:54 +0000 (13:15 +0400)
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)