From: Eugene Gagarin Date: Tue, 19 May 2009 09:15:54 +0000 (+0400) Subject: Try to fix 1251 filepaths on Windows X-Git-Url: http://git.maemo.org/git/?p=findit;a=commitdiff_plain;h=dbb450c2550e63c0c1202d3d3235bf5e475709eb Try to fix 1251 filepaths on Windows --- diff --git a/src/files/search.py b/src/files/search.py index 707f752..c94adf7 100755 --- a/src/files/search.py +++ b/src/files/search.py @@ -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)