summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger/data/generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/data/generate.py b/ranger/data/generate.py
index ce2c07c0..254ddb52 100755
--- a/ranger/data/generate.py
+++ b/ranger/data/generate.py
@@ -22,7 +22,7 @@ if __name__ == '__main__':
 	table = {}
 
 	for line in open(len(sys.argv) > 1 and sys.argv[1] or "mime.types"):
-		if len(line) > 3 and line[0] != '#' and '\t' in line:
+		if len(line) > 3 and line[0] != '#' and ('\t' in line or ' ' in line):
 			name, *extensions = line.split()
 			for ext in extensions:
 				table[ext] = name
16-09-10 11:47:28 -0700 3318' href='/akkartik/mu/commit/html/immutable-error.mu.html?h=hlt&id=f8a4a457cdf2d2ccd69260ce19f2cda0490e73fb'>f8a4a457 ^
f344b250 ^
f8a4a457 ^


f344b250 ^
f8a4a457 ^







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47