View | Details | Raw Unified | Return to bug 57104
Collapse All | Expand All

(-)a/catfish-4.20.1-ALT-searchODF.patch (-1 / +1 lines)
Lines 48-54 index 4ad19cc..7ac3426 100644 Link Here
48
 
48
 
49
             for filename in files:
49
             for filename in files:
50
+                if self.force_stop: break
50
+                if self.force_stop: break
51
+                mime = guess_type(filename)[0] or "<<UNKNOWN>>"
51
+                mime = mimetypes.guess_type(filename)[0] or "<<UNKNOWN>>"
52
+                fname = os.path.join(root, filename)
52
+                fname = os.path.join(root, filename)
53
+                if not os.path.isfile(fname): continue
53
+                if not os.path.isfile(fname): continue
54
                 try:
54
                 try:

Return to bug 57104