Re: [Flickrfs-users] bug fixes
Brought to you by:
manishrjain
From: Fabio S. <sp...@gm...> - 2006-02-06 16:03:45
|
Well done! Me I've fixed a bug that makes flickrfs unusable for international users. Add this line: import codecs ...after the other "imports". Then change line 393 (which will become line 394 after that insertion!) fro= m f =3D open(os.path.join(flickrfsHome, '.'+id), 'w') to f =3D codecs.open(os.path.join(flickrfsHome, '.'+id), 'w', 'latin-1') also, please insert just after line 564 (definition of the "_mkfileOrDir" function) this one: pth =3D pth.encode('latin-1') Once these changes are apported, flickrfs will not break anymore when it finds characters like these: =E0=E8=EC=F2=F9, often found in tags, names= , descriptions etc. of users of non-english languages, like me. Time for a bugfix release? :-D -- Fabio |