Browse Source

more extensions for file size macro

Thomas Buck 5 years ago
parent
commit
49d5aa3499
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      macros.py

+ 1
- 1
macros.py View File

@@ -239,7 +239,7 @@ def hook_postconvert_mobilecompat():
239 239
     fp.close()
240 240
 
241 241
 def hook_postconvert_size():
242
-    file_ext = '|'.join(['pdf', 'zip', 'rar', 'odp', 'exe', 'brd', 'mp3', 'mp4', 'plist']).encode("utf-8")
242
+    file_ext = '|'.join(['pdf', 'zip', 'rar', 'ods', 'odt', 'odp', 'doc', 'xls', 'ppt', 'docx', 'xlsx', 'pptx', 'exe', 'brd', 'mp3', 'mp4', 'plist'])
243 243
     def matched_link(matchobj):
244 244
         try:
245 245
             path = matchobj.group(1)

Loading…
Cancel
Save