Closed GoogleCodeExporter closed 9 years ago
Diff to fix the problem - and remove a duplicate line:
Index: gpicsync-GUI.py
===================================================================
--- gpicsync-GUI.py (revision 869)
+++ gpicsync-GUI.py (working copy)
@@ -752,12 +752,12 @@
or fnmatch.fnmatch ( fileName, '*.CR2' )\
or fnmatch.fnmatch ( fileName, '*.CRW' )\
or fnmatch.fnmatch ( fileName, '*.NEF' )\
+ or fnmatch.fnmatch ( fileName, '*.nef' )\
or fnmatch.fnmatch ( fileName, '*.PEF' )\
or fnmatch.fnmatch ( fileName, '*.RAW' )\
or fnmatch.fnmatch ( fileName, '*.ORF' )\
or fnmatch.fnmatch ( fileName, '*.DNG' )\
or fnmatch.fnmatch ( fileName, '*.dng' )\
- or fnmatch.fnmatch ( fileName, '*.dng' )\
or fnmatch.fnmatch ( fileName, '*.raf' )\
or fnmatch.fnmatch ( fileName, '*.MRW' ):
Original comment by jaegera...@gmail.com
on 4 May 2008 at 11:50
Thanks jaegerandi, I've now committed case sensitivity change for all the file
formats supported.
--
I guess I didn't interpret this well:
"""
fnmatch(filename, pattern)
Test whether the filename string matches the pattern string, returning true or
false. If the operating system is case-insensitive, then both parameters will be
normalized to all lower- or upper-case before the comparison is performed.
"""
http://docs.python.org/lib/module-fnmatch.html
francois
Original comment by francois...@gmail.com
on 4 May 2008 at 3:09
Original issue reported on code.google.com by
jaegera...@gmail.com
on 4 May 2008 at 11:49